wlad031 / mail-rest-service

Server-side of my study project of the subject "Software testing" (2016)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mail-Server

Study project of the subject "Software testing"

Usage

Install dependencies:

pip install -r requirements.txt

Set environment variables:

export HOST="<Host address>" # otherwise it will use localhost
export PORT="<Port on which app will be deployed>" # otherwise it will use 5000
export SENDGRID_API_KEY="<Your Sendgrid API key>" # required
export DATABASE_URI="<sql>://<username>:<password>@<host>:<port>/<database>" # required

Migrate database schema:

python migrate.py db init
python migrate.py db migrate
python migrate.py db upgrade

Run:

python run.py

About

Server-side of my study project of the subject "Software testing" (2016)


Languages

Language:Python 97.8%Language:Mako 2.2%