This is a Django CMS project.
See local_setup.bash
-
Activate the environment
. env/bin/activate
-
Install all the requirements (this could take a while the first time)
pip install -r requirements.txt
-
Initialize needed env vars from the secrets
source secrets
-
Tell application we're running locally
export DJANGO_ENV=dev
-
Migrate the database (this could take a while the first time)
python manage.py migrate
-
Run the server
python manage.py runserver 0.0.0.0:8000
All of this can be done at once by running the script [run.bash]
bash run.bash runserver
Every screen of your application that contains PDGA event or player information must contain the following attribution and link to pdga.com: Player and event data ©2015 PDGA (where 2015 is the current year) Everywhere a player name or event name is displayed, the name must link to the player or event page at pdga.com.
There are 3 cases in which GitHub issues will be created:
- Feedback from a Friend
- Server error
- Management command error
The issues are created using GitHub's API.
In order to use it you'll need to add a secret called DJANGO_GITHUB_TOKEN
containing the Personal Access Token (PAT) with the following scopes:
repo
→public_repo
(Access public repositories)