/srbolab_backend

Primary LanguagePLpgSQLApache License 2.0Apache-2.0

prerequists:

  • python3.6 or higher

if first time using the project:

  1. add ssh ==> key https://gitlab.com/profile/keys
  2. git clone git@gitlab.com:NikolaDojic/flask_app.git
  3. sudo pip3 install virtualenv
  4. cd flask_app
  5. virtualenv venv
  6. source venv/bin/activate #to leave virtual env run deactivate
  7. pip install -r requirements.txt
  8. python code/app.py

Otherwise:

  1. cd to project folder(flask_app)
  2. source venv/bin/activate
  3. python code/app.py