-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
32 lines (24 loc) · 945 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Tested with
Python 3.6.2
PostgreSQL 9.6.4
Environment
If you'd like, create a virtual env for this project
$ python3 -m venv .env
$ source .env/bin/activate
Install dependencies
$ pip install -r requirements.txt
Database
I used Postgres. If you'd like to use a different DB make sure to add the proper dependencies
and update SQLALCHEMY_DATABASE_URI in config.py.
You can create the DB with the SQL from create.sql or create a database called g9_video_dev
and run db.create_all() in a python shell.
>>> from app import db
>>> db.create_all()
To Run
$ python run.py
This will create the application, in debug mode, on localhost:5000
IMPORANT Note: In production you'd want to put the app behind a proper WSGI.
+===============================+
|DON'T USE run.py IN PRODUCTION!|
+===============================+
API reference in API.md or API.html.