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
.
- Sections Covered:
Admin Section
, reserved forsuperusers
All pages
managed byDjango.contrib.AUTH
Log in
pageRegistration
pageContent pages
: content pages created by superuser and regular users, with fullCRUD
rights to their own content.
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 createvenv
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/
# 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/
|-- ************************************************************************