Project #3 for Udacity's Full stack web developer nanodegree program by davcs86
-
Clone the project source code
$> git clone https://github.com/davcs86/fullstack-nanodegree-flask-item-catalog.git
-
Enter into the directory
fullstack-nanodegree-flask-item-catalog/vagrant
$> cd fullstack-nanodegree-flask-item-catalog/vagrant
-
Start the vagrant image (Vagrant installation guide):
$> vagrant up
-
Login to the vagrant instance via ssh
$> vagrant ssh
-
Go to
/vagrant/catalog
directory$> cd /vagrant/catalog
-
Start the application with
$> python ./application.py
-
Open http://localhost:5000/ in your browser
Base: /vagrant/catalog
application.py
(File): Starts the flask application
app
(Folder/Module): Has the app settings, utils classes and the app itself
app/models
(Folder/Module): Has the model definitions for sqlalchemy
app/routes
(Folder/Module): Has the controllers (business logic) for the app
app/static
(Folder): Has the static content (css, js scripts and images) necessary for the views
app/templates
(Folder): Has the jinja2 templates necessary for the views