Simple planner
Clone the project
git clone https://github.com/staszczuk/django-planner.gitGo to the django-planner directory
cd django-plannerCreate virtual environment
python -m venv venvActivate the virtual environment
source ./venv/bin/activateInstall dependencies
python -m pip install -r requirements.txtCreate Django project
django-admin startproject project projectOpen the project/project/settings.py in text editor
Insert 'planner.apps.PlannerConfig' into the INSTALLED_APPS
INSTALLED_APPS = [
'planner.apps.PlannerConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]Open the project/project/urls.py in text editor
Import the django.urls.include
from django.urls import path, includeInsert path('planner/', include('planner.urls')) into the urlpatterns
urlpatterns = [
path('planner/', include('planner.urls')),
path('admin/', admin.site.urls),
]Go to the project directory
cd projectSetup the database
python manage.py migrateStart the server
python manage.py runserver