Skip to content

allhandsactive/volunteertracking

 
 

Repository files navigation

Volunteer Core

The Volunteer Core project is a web app that assists in better management of Volunteer Core operations. It will track opportunities for volunteers, and volunteers. Later features could include communications to build out functionality similar to a CRM.

Development Setup

This setup is for use with local development only; production instructions will be included later. Do not use these instructions in production without turning off debug and resetting the SECRET_KEY in the .env variables.

You will need git to clone this repo.

For the backend you need python 3, venv, pip, and SQLite installed. Depending where you get Python from, venv may already be included with Python.

Prepare Development Enviornment

Clone the repo and cd into the created directory

Prepare and start the Flask API
  1. python3 -m venv venv
  2. source venv/bin/active
  3. pip install -r requirements.txt
  4. cp config.env.template .env
  5. flask db upgrade
  6. Create the admin user: flask auto-setup
  7. flask run
  8. You can later end the app with ctrl + c.
Adding a user
curl https://$\{HOST\}/api/users/create \ 
    -H 'Content-Type: application/json' \
    -d '{"username":"username","password":"password","email":"email@example.com"}'

Contributing

We welcome new contributors. Be sure to check out the guide on contributing, which includes instructions on how to fork, clone, branch, commit, pull request and sync your fork.

Not sure where to start? Look for open issues on GitHub, or message the team on our Slack site. If you aren't on our Slack, click here for an invite.

TL;DR Contribution Workflow:

  1. Fork this repository and Clone your fork locally.
  2. Checkout a new branch on which to make your changes.
  3. Make edits. Try to match existing coding style.
  4. Test your changes.
  5. Commit your changes. Push your changes to your fork on GitHub.
  6. Submit a new pull request and your changes will be reviewed and merged.

Bugs / Feedback / Suggestions / Questions

We encourage you to open up an issue if you have any feedback, suggestions, bugs or just have a question on where to start.

License

MIT, see LICENSE for full license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 51.5%
  • HTML 27.3%
  • Python 12.3%
  • SCSS 5.6%
  • JavaScript 3.1%
  • Mako 0.1%
  • Other 0.1%