Udacity Full Stack Web Developer Nanodegree project4 developed by Heba Sa'ada
Perfumes Catalog Application, is the name of my application provides a list of top selections of perfumes within a variety of categories as well as provide a user registration and authentication system. Registered users will have the ability to add, edit, and delete their own items.
To start running the application on your device you need to clone* or download this project via GitHub to your local machine.
.
├── application.py
├── client_secrets.json
├── database_setup.py
├── lotsofperfumes.py
├── README.md
├── static
│ └── style.css
│ └── logo.png
│ └── github.png
│ └── linkedin.png
└── templates
├── addPerfume1.html
├── deletePerfume.html
├── editPerfume.html
├── header.html
├── home.html
├── login.html
├── moreInfo.html
├── publichome.html
├── publicperfumes.html
└── topperfumes.html
- Python ~2.7
- Unix-style terminal or for Windows user Git Bash terminal)
- VirtualBox
- Vagrant
- VM configuration
- Unzip the VM configuration and add the catalog application folder inside vagrant folder
- Use the Git Bash or Terminal to get into the vagrant folder from VM configuration by running the following command:
$ vagrant up
- This will let vagrant to download the Linux operating system and install it.
- After it finished, run the following command:
$ vagrant ssh
- to let you login to the Linux VM. (Please do not shut down the terminal after the login)
- write the following command for running the application:
$ cd /vagrant
$ cd vagrant
$ cd catalog
$ python database_setup.py
$ python lotsofperfumes.py
$ python application.py
- Once it is up and running, open your browser to visit localhost:8000 link
- Here the different categories with the items in public home page.
- You can login and create, edit and delete just you top favorite perfumes.
- I'm trying to edit as an admin.
- You can edit an item that you created.
If the application doesn't run, make sure of the following points:
- You have run database_setup.py before running the application.
- you have The latest version of Flask 1.x is installed.
- Fragrance and Perfumes information provided form:
- Projects were helpful to me: