Skip to content

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.

License

Notifications You must be signed in to change notification settings

pennlabs/common-funding-application

Repository files navigation

Common Funding Application

CircleCI Coverage Status

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.

Local Backend Setup

  • 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

Front-End Setup

  • Install node.js

  • Install Mocha (sudo npm install -g mocha)

  • Run tests (mocha app/static/test/)

DB migrations

  • Edit models.py

  • python manage.py makemigrations

  • python manage.py migrate

Environment Variables

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

Contributors

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published