vmartsynovskyy / neon-webapp

Web App for the WS Companion App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xenon (formerly Neon) Web API for WS Companion

Features:

  • 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

Technologies used


Development Setup Guide

Commands are for Windows but are easily adaptable to Linux.

  1. Download and install the latest version of Python 3
  2. Download and install the latest version of git
  3. Open Git Bash and clone this GitHub repo by running the command git clone https://github.com/MaldorLevr/neon-webapp.git
  4. Install virtualenv by running the command pip install virtualenv (may need to be running Git bash as an administrator)
  5. Create a virtual environment by running the command virtualenv env and activate it by running the command .\testenv\Scripts\activate.
  6. Switch to the project directory with cd neon-webapp and run pip install -r requirements.txt to install the required packages.
  7. Run the server with python manage.py runserver and view the server by opening your browser and going to the address localhost:8000. If you see this image you've successfully started up the web app!
  8. Stop the server by going into Git bash again and pressing Ctrl + C
  9. Create a superuser account for yourself by running the command python manage.py createsuperuser
  10. 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.

About

Web App for the WS Companion App

License:MIT License


Languages

Language:Python 92.9%Language:HTML 4.9%Language:CSS 2.2%