Skip to content

Commit 35069ab

Browse files
committed
note manual deploy.sh script
1 parent d3b4f78 commit 35069ab

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

README.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
# nbviewer.org-deploy
22

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).
44

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.**
69

710
## Quickstart: upgrading nbviewer
811

9-
First, get what you need to run the invoke tasks:
12+
Currently assumes you have helm, kubectl
1013

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`
2217

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**
2419

2520
## Current deployment
2621

@@ -51,4 +46,4 @@ This will deploy the new helm configuration
5146
and update with `invoke fastly`.
5247

5348
- 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

Comments
 (0)