To set up and run the project, follow these steps:
-
Download and Extract:
- Download the project file and unzip it.
- Navigate to the project’s root folder.
-
Set Up a Virtual Environment (Recommended):
- Create a virtual environment to manage dependencies:
python -m venv env
- Activate the virtual environment:
- Windows:
.\env\Scripts\activate
- macOS/Linux:
source env/bin/activate
- Windows:
- Create a virtual environment to manage dependencies:
-
Install Dependencies:
- Install the required packages using pip:
pip install -r requirements.txt
- Install the required packages using pip:
-
Apply Database Migrations:
- Run the following commands to set up your database schema:
python manage.py makemigrations python manage.py migrate
- Run the following commands to set up your database schema:
-
Run the Development Server:
- Start the Django development server:
python manage.py runserver
- Start the Django development server:
-
Access the Application:
- Open your preferred web browser.
- Navigate to
http://127.0.0.1:[PORT_NUMBER]/to view the application. (Replace[PORT_NUMBER]with the port number specified by the server, typically8000.)
-
Admin Login Credentials:
- To access the admin interface, you need to create a superuser. Run:
python manage.py createsuperuser
- Follow the prompts to set up your admin credentials.
- To access the admin interface, you need to create a superuser. Run:
Feel free to adjust the port number or any other details specific to your project!