Skip to content

bcaure/webdev-courses-back

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickstart

If you encountered error, remove any existing venv folder from the project root before starting.

Windows

  • py -3 -m venv venv
  • venv\Scripts\activate
  • pip install -r requirements.txt
  • set FLASK_APP=flask_app.py
  • flask init-db
  • flask run

Linux/Mac

  • python3 -m venv venv
  • . venv/bin/activate
  • pip install -r requirements.txt
  • export FLASK_APP=flask_app.py
  • flask init-db
  • flask run

CPanel

From the a2hosting article

Installation

  • cd <app_dir>
  • source ~/virtualenv/webdev-api/3.8/bin/activate
  • pip install -r requirements.txt
  • export FLASK_APP=flask_app.py
  • export LC_ALL=en_US.utf-8
  • flask init-db

Update DB

  • cd <app_dir>
  • source ~/virtualenv/webdev-api/3.8/bin/activate
  • export FLASK_APP=flask_app.py
  • export LC_ALL=en_US.utf-8
  • flask init-db

About

Python Backend for web development courses I teach @Isima

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published