Create a web page that will display a tree structure of departments with a list of employees
-
Clone the Repository `git clone https://github.com/khasanovmma/Tree-Structure.git
cd Tree-Structure`
-
Setup Virtual Environment `python -m venv venv source venv/bin/activate # For Linux/macOS
venv\Scripts\activate # For Windows`
-
Install Dependencies
pip install -r requirements/dev.txt
-
Implement in root
.env
file: Example:.env.example
-
Run Migrations
python manage.py migrate
-
Populate db with fake data:
python manage.py generate_fake_data
-
Start the Development Server
python manage.py runserver
-
Access the Application Open your browser and go to
http://localhost:8000
- Settings: Adjust settings in the
settings.py
file to suit your needs. - Database: Configure database settings in the
settings.py
file. - Static and Media Files: Configure paths and settings for handling static and media files.
For any queries or support, contact [[email protected]].