This is an ecommerce prototype for Moes Kombucha company.
- Business owner can register as customer of Moe's.
- Customer can create a new cart (sale).
- Customer can add products to cart.
- Customer can checkout to review order and confirm.
- Customer can view order confirmation.
- Customer can view list of previous orders.
- Customer can reorder a previous order.
- Customer can elect to autoship a given order.
Download and Install MAMP:
- Download the free version of MAMP from the MAMP Downloads Page. Both Mac OS X and Windows are available. (You'll need to have version 4.1.0 or higher for Mac and 3.3.0 or higher for Windows).
- Once downloaded, open the file:
- For Mac: This is a.pkg file.
- For Windows: This is an .exe file.
- At this point, Mac installation is actually complete.
- Windows users will be prompted with an installation wizard. The default values and settings suggested at each step are just fine (You may specify a different location for your MAMP installation, if you prefer, just remember exactly where it is; we'll need to locate our MAMP installation in the next step).
You must configure Apache and MySQL to use the correct port numbers in MAMP.
-
Launch your newly-installed MAMP program.
-
A popup may appear upon first launch. If so, uncheck the option reading Check for MAMP Pro when starting MAMP (You may upgrade to MAMP Pro later, but the free version meets all requirements for our course) then click Launch MAMP.
-
When MAMP launches you will be greeted by a small window with several options. Click Preferences.
-
In the Preferences window, select the Ports tab.
-
Set the Apache Port to 8888.
-
Set the MySQL Port to 8889.
-
Click OK to save your new port configurations.
- Open GitHub site on your browser: https://github.com/maxobaxo/moes
- Select the green dropdown menu to clone this repository.
- Copy the link for the GitHub repository.
- Open Terminal on your computer.
- In Terminal, perform the following steps:
- type 'cd desktop' and press enter
- type 'git clone' then paste the repository link, and press enter
- type 'cd moes' to access the path on your computer
- type 'composer install' in terminal to download dependencies
- In MAMP, perform the following steps:
- Select the Start Servers option.
- Go to preferences>web server and click on the folder icon next to 'document root'.
- Click on 'web' folder of project and hit 'select'.
* Hit ok at the bottom of the preferences window.
- Open a new window in your browser, enter the URL: localhost:8888/phpMyAdmin
- Choose the Import tab and select the shoes.sql.zip file and click Go.
- It's important to make sure you're not importing to a database that already exists, so make sure that a database with the name shoes doesn't already exist locally.
- In your browser, enter the url 'localhost:8888' to view the webpage.
- PHP
- Composer
- Twig
- Silex
- CSS
- Bootstrap
- SQL
- Apache
- MAMP
Thanks to Epicodus for providing some of the MAMP installation instructions at learnhowtoprogram.com
The adorable keg drawings are by by Vadim Smolenskiy. Here's a link to his website: https://dribbble.com/shots/1085951-Kegs-and-Bottles-II.
Please feel free to contact me directly via e-mail at poterekm@gmail.com if you have any questions, comments, ideas, or feedback. Also, I invite you to feel empowered to make any changes to this repository by forking it and making changes accordingly.
- The program does not allow a user to actually purchase a keg of kombucha, as it is not a secure website.
This project is under the MIT License
Copyright (c) 2017 Nicole Freed, Michelle Poterek, Jacob Ruleaux, Max Scher, Steve Spitz