Welcome to WaWash!
WaWash is a laundry service that picks up your laundry, cleans it, and delivers it at your doorstep within 48 hours! WaWash offers two great services to save you time and keep your clothes looking their absolute best. We guarantee gentle handling and expert cleaning, to free pickup and delivery.
Follow the Using WaWash and Testing Information Wiki to learn how to navigate through the WaWash website.
Active Deployment URL
WaWash https://wawashsc-194611.appspot.com/
Screenshots
Team Members:
How to Run the WaWash Webapp:
Before you attempt to run the WaWash webapp please make sure you have met the following requirements.
Requirements
- Have MySQL installed and configured. Installation instructions can be found on the MySQL website
- Have Django 1.11 installed. Installation instructions can be found on the Django website.
- Have Twilio library installed.
Preparing the Virtual Environment
From your favorite directory, run the following commands:
virtualenv wawashenv
source wawashenv/bin/activate
pip install -r $[PATH TO WAWASH DIRECTORY]/capstone/requirements.txt
This will install all of the dependencies for the project.
Starting the MySql Server
Follow the instructions here for MySql post installation setup.
Installation
- From your local WaWash directory, use
cd capstone/capstone/
and then open settings.py with your favorite text editor.
- Scroll down to find:
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'db', 'USER': 'bickforb', 'PASSWORD': 'wawash', 'HOST': 'localhost', 'PORT': '', } }
- Change
'USER': 'bickforb', 'PASSWORD': 'wawash'
to'USER': 'MYSQLCLIENTUSERNAME', 'PASSWORD': MYSQLPASSWORD'
. - Change the host and port values if you wish, but they are set to the default values.
- From your local WaWash directory, use
cd capstone
and then run the following commands:$ python manage.py makemigrations WaWash $ python manage.py migrate
If all went well you are ready to run the webapp.
Now you can install Twilio library. Run the command
pip install twilio
Usage
- Open up a terminal and run the following command:
$ sudo /etc/init.d/mysql start
This will start your mysql server.
- Now you need to start up the webapp server. To do this, run the following command from your $PATH_TO_WAWASH_REPOSITORY/capstone/ directory:
$ python manage.py runserver
Once these commands have been run succesfully, you can go to the development site by entering
localhost:8000/WaWash
into your browser’s URL field.
To send the master number a message go to the link
127.0.0.1:8000/wawash/sms
Once you see “Message sent” the master number has gotten the message “Welcome to WaWash”
Testing
To run the unit and behavioral tests, first follow the instructions above on how to run the WaWash webapp. Once your database has been set up, go to the Testing wiki to read the instructions on how to run the tests.