Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-first-blog

implement the simple blog by The Django Girls tutorial.

Tutorial

Heroku files

環境構築

仮想環境の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

requirements.txtのセーブとロード

pip freeze > requirements.txt
pip install -r requirements.txt

About

implement simple blog by The Django Girls tutorial.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages