Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 961 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 961 Bytes

Django introduction

The repository for the introductory Django project, created by the Django community, mainteined by Andresa Valério, built with ❤️ and Python.

This source code has being the base to presentations on @pinio and Django girls.

How to run

  1. Clone this repository

  2. Ensure that you have django installed in your machine

python -m django --version

You can also install it in a virtual environment

python -m venv .venv
source .venv/bin/activate
pip install django
  1. Run the migrations with python manage.py migrate

  2. To run tests, use python manage.py test polls

  3. To run your project, use python manage.py runserver and go to http://localhost:8000/polls/

  4. If you want to use the admin site, run python manage.py createsuperuser, choose a username, email and password for your admin profile and go to http://localhost:8000/admin/