Skip to content

Imperat/Project451

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project451

To start application:

Usage

Install dependencies:

  • You will need some system packages, so install corresponding packages in your system, like for Ubuntu:

      sudo apt-get install python3 python3-pip postgresql-server-dev-all
    
  • Then install required python3 packages:

      pip3 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:

python3 migrate.py db init
python3 migrate.py db migrate
python3 migrate.py db upgrade

Run:

python3 run.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 75.0%
  • CSS 12.2%
  • HTML 11.6%
  • Mako 1.2%