CentOS7 上の python のフレームワーク django で hello world をした話です。 環境 Google Cloud Platform の Compute Engine CentOS 7.4.1708 python3.6.4 django 2.1 django プロジェクトを作成する django-admin startproject ${プロジェクト名} というコマンドでプロジェクトを作成します。今回は mysite というプロジェクトを作成します。 $ mkdir sample $ cd sample/ $ django-admin startproject mysite $ tree mysite mysite ├── manage.py └── mysite ├── __init__.py ├── settings.py ├── urls.py └── w
![【CentOS7】 django で hello world をする話 - 数学やプログラミングや映画など](https://cdn-ak-scissors.b.st-hatena.com/image/square/7ad722a61910ee9b1a7ce3f4bdff4b732af42b63/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fn%2Fnknshmsk%2F20180202%2F20180202131506.png)