Skip to content

Commit

Permalink
重新发布 2.0 版本。
Browse files Browse the repository at this point in the history
  • Loading branch information
yhy committed Sep 18, 2021
1 parent cb63f6c commit 6976b29
Show file tree
Hide file tree
Showing 10 changed files with 581 additions and 490 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# 基础镜像,按照季度,月度更新。不影响应用镜像的构建。

FROM pythonstock/pythonstock:base-2021-06
FROM pythonstock/pythonstock:base-2021-09

WORKDIR /data

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,4 +354,12 @@ https://www.akshare.xyz/zh_CN/latest/data/stock/stock.html#id1
增加数据库utf8 参数 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci


### bokeh 升级到 2.3.2 版本

目录
/usr/local/lib/python3.7/site-packages

发布一个2.0 的版本。



5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

DOCKER_TAG=pythonstock/pythonstock:latest

sudo rm -rf data
sudo rm -f jobs/nohup.out

echo " docker build -f Dockerfile -t ${DOCKER_TAG} ."
docker build -f Dockerfile -t ${DOCKER_TAG} .
echo "#################################################################"
echo " docker push ${DOCKER_TAG} "

mkdir data

2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ RUN apt-get update && apt-get install -y gcc make axel python3-dev default-libmy
apt-get install -y nodejs && \
pip3 install tornado torndb && \
pip3 install bokeh stockstats && \
pip3 install akshare --upgrade && \
apt-get install -y nodejs && \
cd /tmp && axel https://nchc.dl.sourceforge.net/project/ta-lib/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz && \
tar xvfz ta-lib-0.4.0-src.tar.gz && \
cd ta-lib && ./configure && make && make install && cd /tmp && rm -rf * && \
Expand Down
25 changes: 12 additions & 13 deletions web/static/js/bokeh-api.min.js

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions web/static/js/bokeh-gl.min.js

Large diffs are not rendered by default.

86 changes: 43 additions & 43 deletions web/static/js/bokeh-tables.min.js

Large diffs are not rendered by default.

103 changes: 51 additions & 52 deletions web/static/js/bokeh-widgets.min.js

Large diffs are not rendered by default.

764 changes: 383 additions & 381 deletions web/static/js/bokeh.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions web/templates/stock_indicators.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<script type="text/javascript" src="/static/js/bokeh-widgets.min.js"></script>
<script type="text/javascript" src="/static/js/bokeh-tables.min.js"></script>
<script type="text/javascript" src="/static/js/bokeh-api.min.js"></script>
<script type="text/javascript" src="/static/js/bokeh-gl.min.js"></script>



<script type="text/javascript">
Expand Down

0 comments on commit 6976b29

Please sign in to comment.