Welcome to Bangazon
This a a client facing Bangazon e-commerce website. After registering users can browse through products other users have posted. They can also add items of their own to sell. Items can be view by category, or searched by keyword.
Development Languages and Libraries
To see a visual walkthrough of main features navigate to the bottom of this readme or:
Instructions for Installing Bangazon
You will need to have command line tools installed for your computer to use terminal commands.
Mac users - Open your terminal and type
Linux/Windows users, please vist the Git page and follow the instructions for setup
You will now need to configure your git account. In the terminal window, type
git config –global user.name “You Name” git config –global user.email “Your Email”
Create a new directory to store the files in. Type this into your terminal window.
mkdir Bangazon cd Bangazon git clone https://github.com/garrulous-gobies/Bangazon-sprint-2
Python Download Page or to install with command line,If you do not have Python version 3 installed on your machine, visit the
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install python
Now you need to install all dependencies. We recommend using a virtual environment to prevent these from being installed globally.
First install virtualenv and create and enter a virtual environment, in the containing "Bangazon" folder:
pip install --user virtualenv virtualenv myenv source myenv/bin/activate
To install dependencies navigate to the cloned repository which contains a 'requirements.txt' file then run pip install requirements.txt
cd Bangazon-sprint-2 pip install -r requirements.txt
Create and seed the database by changing the permissions on this shell script and executing it with the following commands:
chmod +x django_data.sh ./django_data.sh website python buildDb.py
You can now run the program by typing(You must be in the directory that contains the 'manage.py' file):
python manage.py runserver 8080