【文件属性】:
文件名称:voila-heroku-secure:一种模板配置,用于承载在heroku上认证的voila密码
文件大小:17KB
文件格式:ZIP
更新时间:2021-02-18 21:29:57
Python
在Heroku上部署的Voila应用程序
这是在Heroku上部署的Voila的示例,请尝试一下: :
如何部署自己的?
首先,创建一个Heroku帐户(免费帐户适合测试)
在您的机器上安装Heroku: :
克隆此存储库,或创建您自己的遵循相同结构的存储库:
git clone https://github.com/Mistobaan/voila-heroku-secure
cd voila-heroku-secure
创建您的笔记本并将其放在notebooks目录中
在requirements.txt文件中添加运行笔记本所需的依赖项
通过将notebooks/bqplot.ipynb替换为超赞笔记本的路径来编辑Procfile文件
承诺一切
git commit -m " My awesome app on Heroku! "
设定密码
./change_passwo
【文件预览】:
voila-heroku-secure-master
----jupyter_server_config.py(27KB)
----runtime.txt(13B)
----templates()
--------error.html(434B)
--------main.html(105B)
--------page.html(608B)
--------404.html(147B)
--------login.html(509B)
--------logout.html(242B)
--------browser-open.html(499B)
----jupyter_server_config.json(229B)
----Procfile(20B)
----LICENSE(2KB)
----change_password.sh(55B)
----.env(20B)
----requirements.txt(90B)
----.gitignore(28B)
----README.md(2KB)
----notebooks()
--------bqplot.ipynb(3KB)