|
1 | 1 | # nbviewer.org-deploy |
2 | 2 |
|
3 | | -Tasks for running nbviewer.jupyter.org in helm, with [invoke](http://pyinvoke.org). |
| 3 | +Tasks for running nbviewer.org in helm, with [invoke](http://pyinvoke.org). |
4 | 4 |
|
5 | | -TODO: helm commands have not yet been implemented. |
| 5 | +**TODO: helm automatiion have not yet been implemented, |
| 6 | +but are current run via `deploy.sh`. |
| 7 | +This assumes the `nbviewer` repo is adjacent to this repo |
| 8 | +and up-to-date.** |
6 | 9 |
|
7 | 10 | ## Quickstart: upgrading nbviewer |
8 | 11 |
|
9 | | -First, get what you need to run the invoke tasks: |
| 12 | +Currently assumes you have helm, kubectl |
10 | 13 |
|
11 | | - pip install -r requirements.txt |
12 | | - |
13 | | -Assuming you have access to everything, |
14 | | -publishing the latest version of nbviewer can be done with one command from this repo: |
15 | | - |
16 | | - invoke doitall |
17 | | - |
18 | | -This will: TODO |
19 | | - |
20 | | -1. `git pull` |
21 | | -2. `invoke upgrade` on each nbviewer instance, via docker-machine |
| 14 | +1. clone nbviewer: `git clone https://github.com/jupyter/nbviewer` |
| 15 | +2. clone this repo: `git clone https://github.com/jupyter/nbviewer.org-deploy` |
| 16 | +3. Run helm upgrade `cd nbviewer.org-deploy; bash deploy.sh` |
22 | 17 |
|
23 | | -There will be a confirmation prompt once it gets to the destructive action of destroying previous containers and starting new ones. |
| 18 | +**NOTE: The invoke tasks.py has not been updated** |
24 | 19 |
|
25 | 20 | ## Current deployment |
26 | 21 |
|
@@ -51,4 +46,4 @@ This will deploy the new helm configuration |
51 | 46 | and update with `invoke fastly`. |
52 | 47 |
|
53 | 48 | - cdn.jupyter.org is proxied through Cloudflare DNS. |
54 | | - Changes to ip require manual update at https:// |
| 49 | + Changes to ip require manual update at https://dash.cloudflare.com/dns. |
0 commit comments