Skip to content

hannari-python/dash_hands_on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

75bd8b7 · Jul 14, 2020

History

33 Commits
Mar 13, 2020
Mar 29, 2020
Apr 1, 2020
Apr 13, 2020
May 30, 2020
May 30, 2020
May 30, 2020
Jul 1, 2020
Jul 1, 2020
Jul 14, 2020
Jun 17, 2020
Jun 3, 2020
May 30, 2020
Jun 17, 2020
Mar 13, 2020

Repository files navigation

はんなりPython / Dash Hands On 20200319

ハンズオン用リポジトリ

$ git clone https://github.com/hannari-python/dash_hands_on.git
$ cd dash_hands_on
$ python -m venv venv
$ pip install -r requirements.txt
もしくは
$ pip install dash dash_daq plotly pandas 

ファイルの実行

$ python ./hands_on_01/first.py

http://127.0.0.1:8050/ にアクセスすると、アプリケーションが見れます。

方法その2 Dockerを使う方法

Dockerページからインストーラーを使ってインストールしてください。
他にもインストール方法があるので各自の環境に合わせてインストールしてください。
docker コマンドが使える状態にしてください。

Dockerイメージを作成します。

$ docker build -t dash-handson .

Dockerコンテナを起動します。

$ docker run --rm -it -v $(pwd):/work -P -p 8050:8050 dash-handson python ./hands_on_01/first.py
(windows)
$ docker run --rm -it -v "$(pwd):/work" -P -p 8050:8050 dash-handson python ./hands_on_01/first.py

ブラウザでアクセスするとDashのページが表示されます。 http://127.0.0.1:8050/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages