CS 160 Project - Something Simple
ABOUT US: Something Simple is a grocery delivery company that delivers fresh produce right to your doorsteps using our cutting-edge drone technology. Our two locations are based in downtown San Jose and San Mateo. Our delivery services are available in Santa Clara County and San Mateo County as of now. Once an order is made, our drones will launch from the nearest location to deliver your order.
USER GUIDE: You can view our user guide video here: https://youtu.be/wOKAsOR5QjM
LOCAL CONFIGURATION: If you would like to run Something Simple on your local machine, you can download our source files at our GitHub: https://github.com/imichelle97/Something-Simple. Our application uses the LAMP Stack (Linux, Apache, MySQL, PHP). We would recommend the following steps to ensure a successful installation of our application:
- Download our source files from the above GitHub Repository link.
- Download XAMPP for your operating system (https://www.apachefriends.org/index.html)
- Once you get XAMPP installed, you should now access to the control panel. Make sure that Apache Web Server and MySQL Database are running.
- Go to your browser, and type in 'localhost'. You should then be taken to the home page of XAMPP.
- Click on phpMyAdmin
- Click on User Accounts. The next few steps are really important to set up correctly. Our source code has specific user account and password for security purposes for our database
- Click on ‘Add a new user’ towards the bottom of the page. Input in the following information: User name: 'OFS' Host name: 'localhost' (remove the % that is already inputted in that field) Password: 'sesame' Make sure to check on ‘Create database with same name and grant all privileges’
- Now you created the database needed for Something Simple. Now you can click on OFS on the left side panel. There should be no tables yet in the OFS database.
- The next step is to import the SQL dump. In our GitHub repository, there is a file called OFS.sql.
- Click ‘Import’, browse to the OFS.sql file, and import to the database. Now you should be able to see six tables. You now successfully imported our database.
- The next step is to transfer our source files to the correct directory. You will need to navigate through XAMPP until you reach htdocs.
For Mac, it should be Applications/XAMPP/htdocs For Windows, it should be C:\xampp\htdocs - Create a folder called “Something-Simple” in htdocs.
- Within that folder, copy over all the source files (including the images folder, all the php files).
- Now from your browser, you should be able to navigate to Something Simple by typing in http://localhost/something-simple/.
If you would like to watch a video on configuring/installing Something Simple on your local machine, watch our video: https://youtu.be/sDIdQrAc2wU.
- Note: You must provide your own Google Maps API Key in tracking.php to have maps working properly.