-
Create your virtual environment inside project's root:
$ cd /path/to/repo/ && virtualenv venv
-
Activate your virtualenv:
$ . /venv/bin/activate
-
Install the requirements:
$ pip install -r requirements.txt
-
If you're an unfortunate Ubuntu user who can't get pip to install psycopg2, please run this:
$ sudo apt-get install build-essential && sudo apt-get build-dep python-psycopg2 && pip install -r requirements.txt
-
Set up Postgres:
$ brew install postgresql
-
Configure your .env file. An example has been set up for you:
$ cp env.example .env
-
Sync your database:
$ python manage db upgrade
-
Create an admin user:
$ python manage create_admin <email> <password>
-
Run your app:
$ python run
-
Access your admin interface at http://localhost:5000
-
Notifications
You must be signed in to change notification settings - Fork 1
License
accordeiro/flask-skeleton
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published