Skip to content

Sean-Holcomb/Item-Catalog

Repository files navigation

#Item Catalog This is a web app built using Flask. It keeps track of items that fit into different catagories and dynamically creates pages for items. You can also add, edit and delete items from the database if you log in using Google+. ##How to install

  1. Install Virtual Box and Vagrant using these instruction and the provided config file

  2. Navigate to the the repository you just cloned and replace the catalog dirrectory with this repository.

  3. From the command line navigate to the vagrant file and type the following commands:

    vagrant up
    
    vagrant ssh
    
    sudo pip install flask-seasurf
    
    sudo pip install dict2xml
    
    cd /vagrant/catalog
    
    python database_setup.py
    
    python db_populate.py
    
    python application.py
    

    The last three lines initialize the database, populate it with dummy data and begin the application

  4. Go to localhost:8000 to view the website ##Usage

  • From the main page you can see all catagories and the ten most recently added items.
  • Clicking on a catagory shows you all items in that catagory.
  • Clicking on an item shows the details of that item.
  • Login using the google plus button to gain access to the add, edit and delete functions.
  • To add an item you must fill out all field except for the picture url

About

Project for Udacity Full Stack Web Developer Nanodegree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published