Skip to content

Bishop216/order_control_test

Repository files navigation

Order managment

Running api (development):

Install Redis:

sudo apt-get install redis

Start Redis server:

redis-server

Virtual environment:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Export flask environmental variables:

export FLASK_APP=application
export FLASK_ENV=development

Initializing DB tables:

flask db init
flask db migrate
flask db upgrade

(optional) Populate "products" and "users" tables:

python populate_db.py

Running flask server:

flask run

Running tests:

pytest

About

Store order managment system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages