Skip to content

zeubkiller/personal-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal website

Personal website served with a flask server

How to install the dev environment

This project work with Flask and Python 3.7.

  1. You can install and download conda or miniconda.
  2. Create a new environment with Python 3.7 then install pip
  3. Use the requirements.txt to install all the python dependencies

How to run

  1. Assign the entry point of your server to the FLASK_APP variable On linux:
export FLASK_APP=***.py
  1. Then to launch the server
flask run

Carefull the entry point of the flask module will be where you launch this method. It can have impact on the folder path.

Folder structure

  • Everything about the server code should be in the app/ folder.
  • Each folder should contain a init.py file.

Specific command

Project command

  • To set up the debug mode
export FLASK_ENV=development

Basic command

Conda

List all environments

conda info -e

Activate an environment

conda activate ***

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published