- Clone the repo:
git clone https://github.com/gwilson253/flask_gutx
- Create virtual environment (assuming Python 3)
$ python -m venv --without-pip venv
-
Download the get-pip.py file
-
Install requirements:
$pip install -r requirements.txt
- Create development database:
$ python manage.py db upgrade
- Create roles:
$ python manage.py shell
>>>Roles.insert_roles()
- Generate fake data for development db:
$ python manage.py shell
>>>import app.fake
>>>>>>app.fake.users()
>>>app.fake.posts()