Ever read a book that you found interesting enough that you would like to recommend to others? Well, this web application lets you do just that. If you are someone whom just read a book and want to recommen it then simply log in and add the book to the list. Vice versa if you are someone whom is looking for a book to read that others recommend then this is a good place to do so.
When project is downloaded following is included:
- Item-cataglog(folder) 1.books.db 2.client_secrets.json 3.database_setup2.py 4.project2.py 5.README.md 6.static(folder) 1.style.css 2.books.jpeg 3.book.png 4.books2.jpeg 5.books3.jpeg 6.images.jpeg 7.templates(folder) 1.booklist.html 2.bookview.html 3.categorylist.html 4.deletebook.html 5.login.html 6.main.html 7.newbook.html 8.publicbooklist.html 9.publicbookview.html 10.publiccategorylist.html
- Python (Preferably version 2.7)
- Flask ()
- Web Browser of choice
-
If using Mac:
- First check if python is installed (preferably python 2.7). From terminal run
- python -V
- If python not found then follow link here to install
- Once you have verified python is installed run following command in terminal to install Flask
- pip install flask
- First check if python is installed (preferably python 2.7). From terminal run
-
If using Windows
- First verify if python is installed in your system by running following command from the command prompt window
- python
- if python is not install then click here to start installation.
- After verifying python is installed run folllowing command from the command prompt window:
- pip install flask
- First verify if python is installed in your system by running following command from the command prompt window
##Downloads To download file to run web application * https://github.com/jfinest/item-catalog
- If you have access to github simply run
- git clone https://github.com/jfinest/item-catalog
- If you dont have git installed then simply click on the clone or download button, to download the web applications files.
While running web applications to avoid any issues with logging out due to Flask cookie becoming slate, there are two options:
- By making sure to delete cookie from the site while in regular browsing mode
- Go into incognito mode since there will be no cookie/cahce.
- From Terminal(Mac) or Command Prompt(Windows), need to go to change directory to where the files are located.
- In order to view info from database we need to run following command: python database_setup2.py This will create the database locally
- Now by run python books.db This will import all info from the database to your machine locally
- Then run python project2.py By running above command, this will start your server locally
- Lastly, from web browser simply go to the following url which is where your local server is running your web application from. In this case is
- localhost:5000/