-
Make sure you have
python
,pip
andnpm
installed -
Run in the project directory (requires
sh
), this script will install dependencies, build the project and run the developement server
sh project.sh setup && sh project.sh run
- Access the developement server on http://127.0.0.1:5000
or, if you want to do it manually:
- Create and activate virtual environment with venv (and do everything else inside created environment)
- Install dependencies
pip install -r requirements.txt
- Change directory to
assets
, installnpm
packages and build the React app
cd assets
npm install
npm run build
- Run Flask server from the root project directory
flask run