Skip to content

Commit 4ea99f5

Browse files
jtpiomeeseeksmachine
authored andcommitted
Backport PR voila-dashboards#1037: Updating Heroku deploy instructions
1 parent 756368c commit 4ea99f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/deploy.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,25 +108,25 @@ High level instructions, specific to Voilà can be found below:
108108

109109
1. Follow the steps of the official documentation to install the heroku
110110
cli and login on your machine.
111-
2. Add a file named runtime.txt to the project directory with the following
112-
content:
111+
2. Add a file named runtime.txt to the project directory with a
112+
`valid Python runtime <https://devcenter.heroku.com/articles/python-support#supported-runtimes>`__:
113113

114114
.. code:: text
115115
116-
python-3.7.3
116+
python-3.9.9
117117
118118
3. Add a file named Procfile to the project directory with the
119119
following content if you want to show all notebooks:
120120

121121
.. code:: text
122122
123-
web: voila -port=$PORT --no-browser
123+
web: voila --port=$PORT --no-browser
124124
125125
Or the following if you only want to show one notebook:
126126

127127
.. code:: text
128128
129-
web: voila —-port=$PORT -no-browser your_notebook.ipynb
129+
web: voila --port=$PORT --no-browser your_notebook.ipynb
130130
131131
4. Initialize your git repo and commit your code. At minimum you need to commit
132132
your notebooks, requirements.txt, runtime.txt, and the Procfile.

0 commit comments

Comments
 (0)