Author: Rigoberto Gort Date: 05/01/2017
Filename
README.md
Main Project File: application.py
Connected Module Files
database_setup.py
client_secrets.json
Connected HTML Files
home.html
base.html
deleteCategory.html
deleteItem.html
editCategory.html
editItem.html
header.html
login.html
newCategory.html
newItem.html
publiccategories.html
publicCategoryItems.html
publichome.html
publicitems.html
showCategoryItems.html
showItem.html
showUser.html
deleteImage.html
editImage.html
Connected CSS Files
bootstrap.min.css
style.css
application.py
This is the primary file required in order to run the item catalog application.
This file imports the data that was setup in the itemcatalog.db file from database_setup.py.
Please confirm that you have the following installed on your machine:
- Vagrant
- Virtual Box
- Python
- SQLite
- SQLalchemy
- OAuth2Client
For example, if you are using the standard Python IDLE (GUI) then you would open the file in that environment.
You would need to,
- Verify that you have the required files installed in a directory of your choosing.
- Verify that you are in that directory and run
vagrant up
in the CMD or Terminal. - Enter
vagrant ssh
. - Changes directories until you reach the iteam-catalog-project directory.
- Once there make sure to run the
python database_setup.py
file. (Make sure itemcatalog.db does not exist first) - Afterwards make sure to run the feed the database information to test including a valid email and username which would tie into your Google Account.
- Run
python application.py
- Open a browser and enter
localhost:8000
- Test the database to your hearts content!