Flask application deployed by link.
pip is already installed if you are using Python. You must also install virtualenv.
git clone https://github.com/ponyaid/letstrade.git
cd letstrade
virtualenv venv && source venv/bin/activate
pip install -r requirements.txt
You must have postgres installed. You must also create a database and add the environment variables.
Create a .env file in the root of the project. For the application to work, you must add the following environment variables:
ADMIN_EMAIL
ADMIN_PASSWORD
DATABASE_NAME
DATABASE_USER
DATABASE_PASS
SENDER
SENDER_PASS
# create a migration repository
flask db init
# generate an initial migration
flask db migrate
# apply the migration to the database
flask db upgrade
# run app
flask run