Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pennlabs/common-funding-application

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.
https://github.com/pennlabs/common-funding-application

Last synced: about 6 hours ago
JSON representation

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.

Awesome Lists containing this project

README

        

Common Funding Application
=============================

[![CircleCI](https://circleci.com/gh/pennlabs/common-funding-application.svg?style=shield)](https://circleci.com/gh/pennlabs/common-funding-application)
[![Coverage Status](https://codecov.io/gh/pennlabs/common-funding-application/branch/master/graph/badge.svg)](https://codecov.io/gh/pennlabs/common-funding-application)

The [Common Funding Application](https://penncfa.com) is an online application that allows student groups and organizations to request funding from various funding sources at the [University of Pennsylvania](http://www.upenn.edu).

## Local Backend Setup
* Install [pip](https://pip.pypa.io/en/latest/installing/)

* 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](http://localhost:8000/)

## Front-End Setup

* Install [node.js](http://nodejs.org/)

* Install [Mocha](https://mochajs.org/#installation) (`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

* The development team at [Penn Labs](https://pennlabs.org/)