implement the simple blog by The Django Girls tutorial.
- Deploy!
- Procfile
- runtime.txt
仮想環境のPythonをactivateすると、myvenv\Scriptsにパスが通っている状態になります。 そのためdjango-admin.exeなども使えるようになります。
py -3 -m venv myvenv
myvenv\Scripts\activate
python -m pip install --upgrade pip
pip install -r requirements.txt
django-admin.exe startproject mysite .
python manage.py migrate
python manage.py runserver
python manage.py startapp blog
python manage.py makemigrations blog
python manage.py migrate blog
python manage.py createsuperuser
pip freeze > requirements.txt
pip install -r requirements.txt