https://github.com/ahnanne/django-practice
https://github.com/ahnanne/django-practice
backend django python3
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahnanne/django-practice
- Owner: ahnanne
- Created: 2024-11-22T06:14:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-11T20:38:13.000Z (over 1 year ago)
- Last Synced: 2025-01-25T05:24:41.101Z (over 1 year ago)
- Topics: backend, django, python3
- Language: Python
- Homepage: https://youtu.be/ZxMB6Njs3ck?si=xe494N0Tg_7ULeS_
- Size: 1.88 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-practice
A demo project to practice Django.
# Installation
**1. Clone this repository.**
**2. Set up a virtual environment.**
```bash
python -m venv env
```
**3. Activate venv.**
Linux/macOS
```bash
source env/bin/activate
```
Windows (Command Prompt)
```bash
. env/Scripts/activate
```
Windows (PowerShell)
```bash
. env/Scripts/Activate.ps1
```
**4. Install dependencies.**
For production dependencies only:
```bash
pip install -r requirements.txt
```
For both production and development dependencies:
```bash
pip install -r requirements.txt -r requirements-dev.txt
```
**5. Run the development server.**
```bash
python manage.py runserver
```
Then navigate to `http://127.0.0.1:8000`.