The Common Funding Application is an online application that allows student groups and organizations to request funding from various funding sources at the University of Pennsylvania.
Install pip
Install mysql_config
(Ubuntu: apt install libmysqlclient-dev
/ MacOS: brew install mysql-connector-c
)
Install python dependencies (pipenv install --dev
)
Enter the python virtual environment (pipenv shell
)
Migrate database (python manage.py migrate
)
Import dummy data (python import_demo.py
)
Run the server (python manage.py runserver
)
Navigate to the app
Edit models.py
python manage.py makemigrations
python manage.py migrate
In development, you do not need to add any environment variables. However, in production, there are a few that need to be set:
DEBUG=False
SENDGRID_USERNAME=pennlabs
SENDGRID_PASSWORD
SECRET_KEY
DATABASE_URL