Skip to content

ivanmarinoff/school-bg

Repository files navigation

Schedule for GET requests Django CI

This is a S.O.V.A-school site project built with Django that includes a publicly accessible site, an authentication section, and content creation by registered users.

Actively supported by S.O.V.A Many thanks S.O.V.A.


This is a site Home page

home_page


This is a Signup page

signup


This is a email answer view

email_answer


This is a Login page

login


This is a Profile page

profile_details


This is a Profile edit page

profile_edit


This is a Global content page for all registered users

global_content


This is a User content page for personal content created by users

user_content


This is a ChatBot form for private messages without registration

chatbot


DB Schema viewer

schema_viewer


  • Sections Covered:
    • Admin Section, reserved for superusers
    • All pages managed by Django.contrib.AUTH
    • Log in page
    • Registration page
    • Content pages: content pages created by superuser and regular users, with full CRUD rights to their own content.

How to use it


Install the package via PIP

$ Use the pip install -r requirements.txt command 
// OR
$ pip install git+https://github.com/ivanmarinoff/S.O.V.A-school.git

Use command venv\Scripts\activate in to terminal to create venv file of your Django project directory!


> **Start the app** > To set up PostgreSQL database run the file:
$ docker-compose up --build
$ # Set up the database
$ python manage.py makemigrations
$ python manage.py migrate
$
$ # Create the superuser
$ python manage.py createsuperuser
$
$ # Start the application (development mode)
$ python manage.py runserver # default port 8000

Access the admin section in the browser: http://127.0.0.1:8000/

Code structuree

# This exists in ENV: LIB/school_bg
< UI_LIBRARY_ROOT >                      
   school_bg/
├── src/
│   └── school_bg/
│       ├── media/
│       ├── school_bg/
│       │   ├── content/  # registred users content pages
│       │   ├── core/     # email utils core code
│       │   ├── envs/
│       │   ├── global_content/ # global content pages
│       │   ├── users/       # users managment pages
│       │   ├── web/        # web pages
│       ├── templates/
│       │   │   ├── content/ # registred users content .html templates
│       │   │   ├── emails/  # email utils .html templates
│       │   │   ├── global_content/ # global content .html templates
│       │   │   ├── home/    # home .html templates
│       │   │   ├── users/   # users .html templates
│       │   │   └── web/     # web .html templates
│       ├── static/
│       │   │   ├── css/    # css files
│       │   │   ├── fonts/  # fonts
│       │   │   ├── images/ # images
│       │   │   ├── js/     # js files
│       │   │   └── pictures/ # pictures
│       │   ├── __init__.py
│       │   ├── asgi.py
│       │   ├── settings.py
│       │   ├── urls.py
│       │   └── wsgi.py
│       ├── requirements.txt
│       │── README.md  
│       │── .gitignore  
│       ├── LICENSE
│       ├── docker-compose.yml
│       └── manage.py
└── env/
   |-- ************************************************************************