A basic news site project intended as a quick introduction to Django.
- Python>=3.4
- Django==2.0
- Clone the project or use "Checkout from Version Control" in PyCharm.
- Create a new virtualenv and activate it either in PyCharm or in a command line:
cd lapdjango python3 -m venv venv . venv/bin/activate # Linux / macOS venv\Scripts\activate # Windows - Install the dependencies either in PyCharm or in a command line:
# Continuing in the lapdjango directory pip install -r requirements.txt - Run initial migrations, create a superuser and start the Django development server:
python manage.py migrate python manage.py createsuperuser python manage.py runserver - The server now auto-reloads on (most) source file changes, so most of the time, there is no need to restart the server manually.
The project, introduction and tasks were authored by Magnus Teekivi.
© 2018