This availability app was built under Python 2.7, MySQL and jQuery. Several features include creating two types of users: customers and babysitters. Babysitters are able to create availabilities. Customers are able to book availabilities from different babysitters.
-
Install virtualenv: http://docs.python-guide.org/en/latest/dev/virtualenvs/ pip install virtualenv virtualenv -p /usr/bin/python2.7 venv source venv/bin/activate
-
Install Python packages pip install -r requirements.txt
-
Install Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install MySQL brew install mysql
-
Start MySQL Server mysql.server start
-
Run Migrations mysql -u root -p < migrations/migration_001.sql mysql -u root -p < migrations/migration_002.sql
-
Run application python main.py
-
Visit the webpage http://localhost:8080/login