Skip to content

alexischilinski/capstone_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnTrack

This app was created for runners by a runner. It is meant to help runners keep themselves accountable and track their progress while training for a race.

Deployment

This app is deployed on Heroku: https://capstone-ontrack.herokuapp.com/

Getting Started

This is the backend for the project, and it is built in Python/Django. Fork and clone this repo to get started. It also utilizes a PostgreSQL database. It is paired with the frontend repo (https://github.com/alexiscait142/capstone_frontend).

Prerequisites

In order to successfully run this app, you will need some version of Python 3, and a version of Django that is at least 3.0.3 or higher. Please see Pipfile.lock for all versions. You will also need to have pip3 installed (and pipenv) so you can access the virtual environment.

Required packages

Enter the virtual environment within the project director (pipenv shell) and run pip install for these packages:

djangorestframework
django-cors-headers
psycopg2
psycopg2-binary
django-rest-knox
gunicorn

Installing

Once you have forked and cloned this repo and installed the proper packages, run PGGSSENCMODE=disable python manage.py migrate and PGGSSENCMODE=disable python manage.py seed to complete the database. Assuming everything was successful, you can then run PGGSSENCMODE=disable python manage.py runserver to start the server. Check localhost:8000 for success.

References

Authors

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages