- Download the packages needed
sudo apt-get -y update
sudo apt-get -y install git python3 python3-venv python3-dev
- Setup the workspace
git clone https://github.com/Zanobos/macloc
cd macloc/webserver
echo -e "FLASK_APP=webserver.py\nFLASK_DEBUG=1\n" > ".flaskenv"
python3 -m venv venv
source venv/bin/activate
pip install -r app/doc/requirements.txt
flask db upgrade
- Start the server
source venv/bin/activate
flask run
- Open a python terminal with everything ready
source venv/bin/activate
flask shell
- Download the packages needed
sudo apt-get -y update
sudo apt-get -y install git npm
- Setup the workspace
git clone https://github.com/Zanobos/macloc
cd macloc/webapp
sudo npm install -g npm@latest
npm install
- Serves the FE locally for testing and developing