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.
- Follow the steps found here for installing vagrant.
- Then clone this repo to a folder you wish to run it from
- 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.)
- Change directories into /item-catalog
- Connect to the virtual machine with: vagrant ssh
- 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
- Next run database_setup.py
- then run seed_database.py to add some items to the database
- Start up the webserver project.py
- navigate to http://localhost:8000