This is a Django application designed to demonstrate Django functionality and basic project structure.
DjangoProject/
: Contains project settings and configurations.djangoApp/
: Placeholder for Django app code.media/
: User-uploaded media files.static/
: Static files (CSS, JavaScript).templates/
: HTML templates.theme/
: Additional styling themes.db.sqlite3
: SQLite database file.manage.py
: Django management script.
-
Clone the Repository:
git clone https://github.com/omkarkhoche3448/Django.git cd Django
-
Create and Activate a Virtual Environment:
-
On macOS/Linux:
python -m venv .venv source .venv/bin/activate
-
On Windows:
python -m venv .venv .venv\Scripts\activate
-
-
Install Dependencies:
pip install -r requirements.txt
-
Apply Migrations:
python manage.py migrate
-
Create a Superuser (Optional):
If you need an admin user, create one by running:
python manage.py createsuperuser
-
Collect Static Files:
python manage.py collectstatic
-
Run the Development Server:
python manage.py runserver
Open your browser and navigate to
http://127.0.0.1:8000/
to see the running application.
For additional details, visit the Notion page: Django Project Notes