15th of August 2016
This is a project done by Unnar Thor Bachmann in the Udacity's full stack web developer nanodegree program. This is an implementation of a CRUD backend system. Each user can create, update and delete his/her itemsand read all other items.
##Short explanation of functionality.
This project was made using Flask and sqlAlchemy and is supposed to run on a linux sytem. Either a local machine or virtual machine using a vagrant software to configure it. The project itself is inside the folder catalog
.
##How to run the webpage.
-
Fork the repository.
-
Clone the repository to your machine by typing
git clone <url>.git
in the commmand line interface (e.g. Git bash). -
If running the project on a virtual machine type
vagrant up
followed byvagrant ssh
. -
Remove the current database with the commands
rm *.db
andrm *.pyc
. -
Create a new database with the commands
python database_setup.py
and populate it with the commandpython AddingToDatabase.py
. -
Run the client with
python project_item_catalog.py
. -
Connect to it in a webbrowser using the url http://localhost:8000/.