django-web-panel is a Git repository that contains a versatile template for quickly creating a web admin panel with modern design and comprehensive functionality. This template offers a convenient solution for developers aiming to build functional administrative panels for various purposes, such as online stores, data management systems, analytical platforms, and more.
.
βββ .env-dist
βββ postgres-utils.py
βββ README.md
βββ requirements.txt
βββ src
βββ web
βββ accounts
βββ manage.py
βββ panel
βββ static
βββ templates
βββ web
- Modern and responsive design, adaptable to different devices. π
- Minimalistic and intuitively designed interface for easy navigation. π§
- User registration and account management with support for different roles and access rights. π₯
- User authentication and authorization for data security. π
- Flexible database management system for storing and processing information. ποΈ
- Built using popular web technologies such as HTML, CSS, and JavaScript. π
- Web framework Django for faster development and feature extension. π
- Integration capability with database PostgreSQL. π
The repository includes a helpful file named postgres-utils.py
which provides commands for managing the database. Here are the available commands:
db-update-access
: Grants privileges to the database for the environment user.db-remove
: Removes the environment database.db-create
: Creates the environment database.db-recreate
: Recreates the environment database.
To set up the project, follow these steps:
- Clone the repository:
git clone https://github.com/ProgerOffline/django-web-panel
cd django-web-panel
- Edit the
.env-dist
file with the following content:
DATABASE_NAME=
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_HOST=127.0.0.1
DATABASE_PORT=5432
Rename the file to .env
.
- Create a Python 3 virtual environment:
python3 -m venv venv
source venv/bin/activate
pip3 install --upgrade pip
- Install the required packages from the
requirements.txt
file:
pip install -r requirements.txt
- Navigate to the
src/web/
directory:
cd src/web/
- Apply migrations for the Django database:
python3 manage.py makemigrations
- Apply the migrations to the Django database:
python3 manage.py migrate
- Start the Django project:
python3 manage.py runserver
Now the project is set up and running. You can access the admin panel and start building your application.
If you find this project helpful and would like to support the author, you can consider contributing to the project, giving it a star on GitHub, or providing a donation.