Skip to content

Bookstore with its own authorization/validation system/admin panel

Notifications You must be signed in to change notification settings

Segfaul/libraio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

LibraIO

Bookstore with filtering and search for books of interest. Also provides the ability to add and send book deletion requests to authorized users.


Functionality

Technologies and Frameworks

  • Python 3.11
  • Django 4.2
  • HTML, CSS, JS, Jquery[AJAX]
  • SQLite 3

Installation

  1. Clone the repository to the local machine

    git clone https://github.com/Segfaul/libraio.git
  2. Go to the repository directory

    cd libraio
  3. Create and activate a virtual environment

    python -m venv env
    source env/bin/activate
  4. Set project dependencies

    pip install -r requirements.txt
  5. Go to the libraio directory

    cd libraio
  6. Create database migrations and apply them

    python manage.py makemigrations
    python manage.py migrate
  7. Create a Django project superuser (admin)

    python manage.py createsuperuser
  8. Run the project on localhost in the background

    python manage.py runserver &
  9. Go to the site and enter the previously created data of the superuser (step 6)

    http://127.0.0.1:8000

Settings

Migrations - is Django's way of propagating changes you make to your models (adding a field, removing a model, etc.) to the database schema.

  1. Create new migrations based on the changes you made to your models

    python manage.py makemigrations
  2. Using previously created migrations

    python manage.py migrate