WeeklyReport:基于Flask的开源周报系统,快速docker部署

上传者: 42144554 | 上传时间: 2023-04-06 08:48:12 | 文件大小: 283KB | 文件类型: ZIP
截图(V0.1): ://blog.mcloud.fun:81/post/weekly-report #加入docker-compose 可以在新机器上,直接一键启动了:docker-compose up 加入entrypoint.sh脚本:1启动时先等待pg启动2判断pg里是否已经有表3如果没有表,初始化表4用gunicorn启动应用 快速运行 -w 为开启的gunicorn worker进展数-p 8000:80主机通过8000端口访问 git clone https://github.com/CodingCrush/WeeklyReport && \ cd WeeklyReport && \ docker build -t weeklyreport:0.2 . && \ docker run -d \ --restart=unless-stopped \ --name weeklyreport-server \ -p 8000:80 \ -v /etc/localtime:/etc/localtime:r

文件下载

资源详情

[{"title":"( 93 个子文件 283KB ) WeeklyReport:基于Flask的开源周报系统,快速docker部署","children":[{"title":"WeeklyReport-master","children":[{"title":".gitignore <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 152B </span>","children":null,"spread":false},{"title":".dockerignore <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"entrypoint.sh <span style='color:#111;'> 548B </span>","children":null,"spread":false},{"title":"gunicorn.conf <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"docker-compose.yml <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"deploy","children":[{"title":"app","children":[{"title":"__init__.pyc <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"templates","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"email","children":[{"title":"reminder.txt <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"reset_password.html <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"reminder.html <span style='color:#111;'> 225B </span>","children":null,"spread":false},{"title":"reset_password.txt <span style='color:#111;'> 287B </span>","children":null,"spread":false}],"spread":false},{"title":"admin","children":[{"title":"model","children":[{"title":"report_list_template.html <span style='color:#111;'> 8.49KB </span>","children":null,"spread":false}],"spread":false},{"title":"base.html <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"auth","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"login.html <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"change_username.html <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"reset_password.html <span style='color:#111;'> 291B </span>","children":null,"spread":false},{"title":"register.html <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"change_password.html <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":false},{"title":"report","children":[{"title":"read_crew.html <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"statistics_department.html <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"write.html <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"read.html <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"statistics_crew.html <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"read_department.html <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false}],"spread":false},{"title":"base.html <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"404.html <span style='color:#111;'> 157B </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"email.py <span style='color:#111;'> 702B </span>","children":null,"spread":false},{"title":"auth","children":[{"title":"__init__.py <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"views.py <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"forms.cpython-36.pyc <span style='color:#111;'> 4.04KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"views.cpython-36.pyc <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"forms.py <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false}],"spread":false},{"title":"static","children":[{"title":"wangEditor","children":[{"title":"fonts","children":[{"title":"icomoon.eot <span style='color:#111;'> 15.28KB </span>","children":null,"spread":false},{"title":"icomoon.ttf <span style='color:#111;'> 15.12KB </span>","children":null,"spread":false},{"title":"icomoon.svg <span style='color:#111;'> 46.17KB </span>","children":null,"spread":false},{"title":"icomoon.woff <span style='color:#111;'> 15.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"js","children":[{"title":"wangEditor.min.js <span style='color:#111;'> 84.06KB </span>","children":null,"spread":false}],"spread":false},{"title":"css","children":[{"title":"wangEditor.min.css <span style='color:#111;'> 14.62KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"js","children":[{"title":"respond.min.js <span style='color:#111;'> 4.27KB </span>","children":null,"spread":false},{"title":"html5shiv.min.js <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"jquery-3.1.0.min.js <span style='color:#111;'> 84.33KB </span>","children":null,"spread":false},{"title":"bootstrap.min.js <span style='color:#111;'> 35.95KB </span>","children":null,"spread":false}],"spread":false},{"title":"css","children":[{"title":"bootstrap.css <span style='color:#111;'> 144.01KB </span>","children":null,"spread":false},{"title":"style.css <span style='color:#111;'> 13.35KB </span>","children":null,"spread":false},{"title":"font-awesome.min.css <span style='color:#111;'> 30.27KB </span>","children":null,"spread":false}],"spread":false},{"title":"chartkick","children":[{"title":"Chart.bundle.min.js <span style='color:#111;'> 189.14KB </span>","children":null,"spread":false},{"title":"chartkick.js <span style='color:#111;'> 52.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"favicon.ico <span style='color:#111;'> 66.06KB </span>","children":null,"spread":false}],"spread":false},{"title":"translations","children":[{"title":"zh_Hans_CN","children":[{"title":"LC_MESSAGES","children":[{"title":"messages.po <span style='color:#111;'> 6.01KB </span>","children":null,"spread":false},{"title":"messages.mo <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"models.py <span style='color:#111;'> 6.38KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"report","children":[{"title":"__init__.py <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"views.py <span style='color:#111;'> 15.71KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"forms.cpython-36.pyc <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"views.cpython-36.pyc <span style='color:#111;'> 11.85KB </span>","children":null,"spread":false}],"spread":false},{"title":"forms.py <span style='color:#111;'> 958B </span>","children":null,"spread":false}],"spread":false},{"title":"__pycache__","children":[{"title":"json_encoder.cpython-36.pyc <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"email.cpython-36.pyc <span style='color:#111;'> 898B </span>","children":null,"spread":false},{"title":"models.cpython-36.pyc <span style='color:#111;'> 6.78KB </span>","children":null,"spread":false},{"title":"utils.cpython-36.pyc <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false}],"spread":false},{"title":"json_encoder.py <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"babel.cfg <span style='color:#111;'> 96B </span>","children":null,"spread":false},{"title":"main","children":[{"title":"errors.py <span style='color:#111;'> 553B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"views.py <span style='color:#111;'> 5.41KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"errors.cpython-36.pyc <span style='color:#111;'> 822B </span>","children":null,"spread":false},{"title":"__init__.cpython-36.pyc <span style='color:#111;'> 235B </span>","children":null,"spread":false},{"title":"views.cpython-36.pyc <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"messages.pot <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"postgres","children":[{"title":"README.md <span style='color:#111;'> 451B </span>","children":null,"spread":false}],"spread":true},{"title":"config.py <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"wsgi.cpython-36.pyc <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"wsgi.py <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"migrations","children":[{"title":"env.py <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"alembic.ini <span style='color:#111;'> 770B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"env.cpython-36.pyc <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"script.py.mako <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"versions","children":[{"title":"4e32e2d01c28_.py <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"4e32e2d01c28_.cpython-36.pyc <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"README <span style='color:#111;'> 38B </span>","children":null,"spread":false}],"spread":false},{"title":"logs","children":[{"title":".gitignore <span style='color:#111;'> 14B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"supervisord.conf <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"checkdb.py <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明