Item Catalog

A python web applicaiton that utilizes Flask, SQL Alchemy, to create an item catalog that users can log into with their Google+ account, via it an OAuth2 client.

Users can add items and edit their own. As well as view what is in the catalog. Theres is also as JSON endpoint for seeing what's in the database.

Steps

  1. Follow the steps found here for installing vagrant.
  2. Then clone this repo to a folder you wish to run it from
  3. From the root directotry enter the command: vagrant up (If this is the first time you're doing this, you will need an active internet connection, it couldtake some time.)
  4. Change directories into /item-catalog
  5. Connect to the virtual machine with: vagrant ssh
  6. Change directories to /vagrant/item-catalog

Since I did run into issues with serialization and authorization so to be safe downgrade the follow packages by running the following:

sudo pip install werkzeug==0.8.3
sudo pip install flask==0.9
sudo pip install Flask-Login==0.1.3
  1. Next run database_setup.py
  2. then run seed_database.py to add some items to the database
  3. Start up the webserver project.py
  4. navigate to http://localhost:8000