bazaragh / bazaragh

Projekt zespołowy inżynierii oprogramowania
https://bazaragh.pl
0 stars 0 forks source link

Bazar AGH

CI codecov

Prerequisites

Getting started

Create virtual environment

python3 -m venv ./venv
source venv/bin/activate

Install requirements

sudo apt install libmariadbclient-dev # not required on Windows
pip install -r requirements.txt

Create local configuration

cp app/config.py config.local.py

Edit values in config.local.py to match Your environment.

Start application

flask run
# or
FLASK_ENV=development FLASK_DEBUG=1 flask run

Your application is running on http://127.0.0.1:5000

Deployment

Use gunicorn:

gunicorn wsgi -b 127.0.0.1:8080 --daemon