library-system
-
Dependencies
Django all-auth Crispy-from-tags python2.7 Django 1.11.6
-
Run ./install.sh to install all the dependencies, run the server and populate the database. Put this url in chrome http://127.0.0.1:8000/
-
library-system
bookstore (APP) migrations templates account login.html logout.html signout.html base.html checkout.html home.html product.html thankyou.html _init_.py admin.py apps.py models.py tests.py urls.py views.py librarySystem _init_.py settings.py urls.py wsgi.py static images javascript(js files) styles(css files) manage.py
-
python version is 2.7 and Django Version is 1.11.6
-
Functionality of website(BookStore):
- Go to the given url.
- According to the category select the book.
- If you will checkout you have to login.
- After that you will be redirected to checkout page.
- New user can signup also.
- From any page you can directly go to the home page.
- Also after logout you will be directed to the home page.
-
There are 3 main files:
viewes.py home() product() checkout()
urls.py home/ product/ checkout/
models.py Book
form.py checkoutForm
-
For user authentication Django all-auth package. Reference - https://github.com/pennersr/django-allauth, http://django-allauth.readthedocs.io/en/latest/installation.html.
-
In install.sh command "python manage.py migrate" to populate the database.
-
I referred following links: https://docs.djangoproject.com/en/1.11/ https://v4-alpha.getbootstrap.com https://www.youtube.com/watch?v=9Wbfk16jEOk&t=9268s https://github.com/pennersr/django-allauth