An event fundraising website where individuals can create personal pages, set goals and raise money for the overall goal.
- Fully responsive website that supports phones, tablets and computers
- Individuals can create custom fundraising pages with a photo, message and fundraising goal
- Email notifications to the fundraiser whenever a donation is received
-
(optional) Create and activate a virtualenv to have an isolated environment.
-
Clone this repository:
cd fundraising-website -
Install dependencies:
pip install -r requirements.txt -
Copy .env.example to .env:
cp .env.example .env -
Edit .env and add a SECRET_KEY value, a long (32 chars or more) random string.
-
Create a database:
python3 ./manage.py migrate -
Create a superuser - please use a strong password:
python3 ./manage.py createsuperuser -
Load test data into the database from fixtures:
python3 ./manage.py loaddata startingdata -
If everything installed, you should be able to start the Django development server:
python3 ./manage.py runserver localhost:8000 -
You can browse to http://localhost:8000/team_fundraising/
In order to send out emails when someone registers, makes a donation or receives a donation, you need to provide a mail server. A Gmail account can be used for this. Edit the .env file and add EMAIL_HOST, EMAIL_PORT, EMAIL_HOST_USER and EMAIL_HOST_PASSWORD.
- Python 3.7 - Primary language
- Django 2.2 - Web Framework
- Bootstrap 4 - Interface