This project is a simple web application that provides a list of items within several categories. It uses third party authentication, and logged in users can add, edit, and delete their own items. Its was created using python, flask and sqlalchemy
This project requires a vagrant environment setup including vagrant, Oracle Virtualbox, python, flask and sqlalchemy
After installing Vagrant and Oracle's VirtualBox perform the following
-
Clone the project from github:
git clone https://github.com/kdoba22/Udacity-FSND-project3-item-catalog.git -
After project clones, navigate to the Udacity-FSND-project3-item-catalog folder
-
Bring up the vagrant vm by running 'vagrant up' (This takes a while)
-
After this completes connect to the vM by running 'vagrant ssh'
note: run 'vagrant halt to shut down vm or cntr-D to disconnect' -
Once this command is complete change directories into the vagrant directory, 'cd /vagrant'
-
Now you need to change directories one last time into the catalog folder, 'cd catalog'
-
Now the database will need to be populated, so run 'python lotsofitems.py' This job will load the DB with a set of categories and items.
-
Now your ready to run the project, run 'python views.py'