Skip to content

nehagarg01/jennifer-admin

Repository files navigation

Running Locally

Make sure you have Python installed properly. Also, install the Heroku Toolbelt and Postgres.

$ cd jennifer-admin

$ pip install -r requirements.txt

$ createdb jennifer
$ psql jennifer -c "CREATE ROLE jenniferadmin PASSWORD 'jennifer-db-letmein' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN;"

$ export DJANGO_SETTINGS_MODULE='core.settings.local'
$ python manage.py migrate
$ python manage.py collectstatic
$ python manage.py createsuperuser

To run server locally on localhost:8000.

$ python manage.py runserver

Alternatively, you can run on heroku locally

$ heroku local

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master

$ heroku run python manage.py migrate
$ heroku open

or

Deploy

Documentation

For more information about using Python on Heroku, see these Dev Center articles:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published