Check-in and check-out for afterschool (as well as some other fun stuff)
License: | GPLv3 |
---|
St. George's Episcopal School in New Orleans, LA needed a simple way to manage afterschool in-and-out as well as a "Student Finder" that was more intuitive than their current SIS (called PCR). The CSV imports that are currently built into this package are specific to the PCR Exports. Anyone interested in making them more generalized is welcome to make a PR!
- Python 3.7
(Recommended) Start a virtualenv with Python 3.7
Clone the repo
$ git clone https://github.com/sreyemnayr/django-afterschool.git
Navigate to the new repo
$ cd django-afterschool
Install required packages
$ pip install -r requirements/local.txt
Create and edit the .env file
$ cp .env.example .env $ nano .env
To run locally, just clone the repo and run
$ python manage.py runserver
To create a normal user account, just go to Sign Up and fill out the form. Once you submit it, you'll see a "Verify Your E-mail Address" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.
To create an superuser account, use this command:
$ python manage.py createsuperuser
For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.
This application can be deployed with nginx/gunicorn or whatever other WSGI setup you prefer.