- Creates an API for use by the WS Companion app which it uses to give updated information for students of Windsor Secondary
- Automagically scrapes calendar data from Windsor Secondary's website in order to automate the adding of information to the app
- Uses Ionic's Push API to send notifications to Windsor Secondary students about important events
- Stores teacher contact information for easy access with the WS Companion app
- Python 3.x
- Django (and accompanying libraries)
- Git
- Nginx
- Web APIs (Ionic)
- MySQL (MariaDB)
- HTML
- Ubuntu Server
- Bash shell and bash tools
- Ubuntu tools (Supervisor, Gunicorn), and more)
- Huey paired with Redis
Commands are for Windows but are easily adaptable to Linux.
- Download and install the latest version of Python 3
- Download and install the latest version of git
- Open Git Bash and clone this GitHub repo by running the command
git clone https://github.com/MaldorLevr/neon-webapp.git
- Install virtualenv by running the command
pip install virtualenv
(may need to be running Git bash as an administrator) - Create a virtual environment by running the command
virtualenv env
and activate it by running the command.\testenv\Scripts\activate
. - Switch to the project directory with
cd neon-webapp
and runpip install -r requirements.txt
to install the required packages. - Run the server with
python manage.py runserver
and view the server by opening your browser and going to the addresslocalhost:8000
. If you see this image you've successfully started up the web app! - Stop the server by going into Git bash again and pressing Ctrl + C
- Create a superuser account for yourself by running the command
python manage.py createsuperuser
- Run the server again and this time navigate to
localhost:8000/admin
in your browser and login. From here you should be able to create some test data.