Code Monkey home page Code Monkey logo

carmelorto's Introduction

Resident Assistant Duty Scheduling Application

The Resident Assistant Duty Scheduling Application (RADSA) is Web application that schedules Resident Assistants for nightly duty shifts and displays the schedule for the RAs to see. The application allows RAs to login and submit any conflicts they might have for a particular month, and a Hall Director, or their Assistants, may run the scheduling algorithm, view the result and make any changes before displaying it to the RAs.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

RADSA utilizes a Flask web server to serve pages to the client. The web server also communicates with a PostgreSQL database to display the proper information to the client in addition to running the scheduling algorithm. For this application, you will need:

  • PostgreSQL 9.5
  • Python 3.5
  • VirtualEnv 15.1

Installing

Here is a step by step series of examples that tells you how to get the development environment up and running.

Installing PostgreSQL

$ sudo apt-get update
$ sudo apt-get install postgresql postgresql-contrib
$ sudo -u postgres createuser --interactive

Follow the prompts to create a role for yourself. I suggest creating a role that is the same name as your username and making yourself a superuser.

Installing Python

$ sudo apt-get install python3.5

Installing VirtualEnv

$ sudo pip install virtualenv
$ virtualenv -p python3 /path/to/home/MyEnv
$ source /path/to/home/MyEnv/bin/activate

In order to develop in the correct Python environment, you will need to perform the last step each time you close your terminal. Similarly, if you would like to exit the virtual enviromnet, simply type deactivate in the terminal.

With all of the above prerequisites installed, you should be able to run

$ python createDB.py
$ python scheduleServer.py

to start the Flask server. You can then open the browser of your choice and go to localhost:5000/.

Deployment

RADSA is deployed on Heroku.

Authors

  • Tyler Conzett - Initial work - conzty01
  • Ryan Ehrhardt - Initial work - Hoxios

See also the list of contributors who participated in this project.

carmelorto's People

Contributors

david12312341 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.