Basic flask template
- Download the code from github
git clone [email protected]:rabramley/volca_sample_manager.git- Install the requirements
Go to the flask_template directory and type the command:
sudo apt install python3-dev libldap2-dev libsasl2-dev
pip install -r requirements.txt- Create the database using
Staying in the flask_template directory and type the command:
./manage.py version_control
./manage.py upgrade- Run the application
Staying in the flask_template directory and type the command:
./app.pyTo test the application, run the following command from the project folder:
pytest