raspberry pi 3 に直接デプロイ
作成されたファイル
.
├── FlaskWebProject1
│ ├── __init__.py
│ ├── static
│ │ ├── content
│ │ │ ├── bootstrap.css
│ │ │ ├── bootstrap.min.css
│ │ │ └── site.css
│ │ ├── fonts
│ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ ├── glyphicons-halflings-regular.svg
│ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ └── glyphicons-halflings-regular.woff
│ │ └── scripts
│ │ ├── _references.js
│ │ ├── bootstrap.js
│ │ ├── bootstrap.min.js
│ │ ├── jquery-1.10.2.intellisense.js
│ │ ├── jquery-1.10.2.js
│ │ ├── jquery-1.10.2.min.js
│ │ ├── jquery-1.10.2.min.map
│ │ ├── jquery.validate-vsdoc.js
│ │ ├── jquery.validate.js
│ │ ├── jquery.validate.min.js
│ │ ├── jquery.validate.unobtrusive.js
│ │ ├── jquery.validate.unobtrusive.min.js
│ │ ├── modernizr-2.6.2.js
│ │ ├── respond.js
│ │ └── respond.min.js
│ ├── templates
│ │ ├── about.html
│ │ ├── contact.html
│ │ ├── index.html
│ │ └── layout.html
│ └── views.py
├── FlaskWebProject1.pyproj
├── FlaskWebProject1.pyproj.user
├── FlaskWebProject1.sln
├── obj
│ └── Debug
├── requirements.txt
└── runserver.py
8 directories, 33 files
実行
$ export SERVER_HOST=0.0.0.0 #アドレス設定
$ export SERVER_PORT=8891 # ポート設定
$ python runserver.py
* Running on http://0.0.0.0:8891/ (Press CTRL+C to quit)
実行結果