This is a Django project named "mysite" that includes a reusable app called "polls." The "polls" app is created using setuptools
, making it easy to include in other Django projects.
To get started with this project, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/subarnasaikia/django-polls.git
- Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install the project dependencies:
pip install -r requirements.txt
- Apply database migrations:
python manage.py migrate
- Run the development server:
python manage.py runserver
The Django project "mysite" should now be up and running at http://127.0.0.1:8000/. You can access the "polls" app at http://127.0.0.1:8000/polls/.