Project that implements full CRUD operation using PostgreSQL, Peewee, and Tornado
-
Install Python3
-
Clone Repository:
$ git clone https://github.com/egarcia410/blogApp.git -
Change Directory:
$ cd blogApp -
Install VirtualWrapper
-
Create and Activate Virtualenv:
$ mkvirtualenv -a `pwd` -p `which python3` INSERT_VIRTUALENV_NAME -
Install Dependencies:
$ pip install -r requirements.txt -
Create an
.envfile:$ touch .env -
Insert secret into
.envfile:``` SECRET=INSERT_SECRET_PHRASE_HERE ```
This phrase can be any length of numbers and letters
-
Run Program:
$ python app.py