Skip to content

Commit 4a86692

Browse files
committed
update some of the amigo2-instance-data metadata update instructions; still a couple of things to iron out
1 parent dc8b883 commit 4a86692

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,24 +143,32 @@ The SOP for a metadata release; i.e. new npm packages is:
143143
The SOP for a metadata release; i.e. new npm packages is:
144144

145145
* [ Get geneontology/amigo-standalone running; might be easiest to just give it a small index and invade]
146-
* `docker ps`
147-
* `docker exec -u 0 -it whatever_name /bin/bash`
146+
* `docker run -p 8080:8080 -p 9999:9999 -v /tmp/srv-solr-data:/srv/solr/data -it geneontology/amigo-standalone bash -c "/bin/bash"`
148147
* `root@amigo:/srv/amigo# git reset --hard && git pull`
149148
* `root@amigo:/srv/amigo# npm install`
150149
* `root@amigo:/srv/amigo# cp conf/examples/amigo.yaml.public conf/amigo.yaml`
151150
* `root@amigo:/srv/amigo# mg conf/amigo.yaml`
152151
* [ fix metadata paths to '/srv/amigo' ]
153152
* `./node_modules/.bin/gulp install`
153+
* [ next: compile and bump versions ]
154154
* `./node_modules/.bin/gulp release`
155155
* `cd javascript/npm/amigo2-instance-data/`
156156
* `/srv/amigo/node_modules/.bin/gulp release`
157+
158+
At this point we have a fail.
159+
- `npm install npm@latest` (to get OTP working)
160+
- `npm login`
161+
- `npm publish`
162+
163+
TODO:
164+
157165
* `cd ../bbop-widget-set && npm install gulp-mocha`
158166
* `/srv/amigo/node_modules/.bin/gulp release`
159167
* `cd ../../..`
160168

161169
The last step there errors out for various "Error: auth required for publishing" reasons, obviously.
162170
WIP items:
163171

164-
* TODO: outline how to add npm auth
165172
* TODO: outline what to do with the package.json files (need GH auth)
166-
* TODO: outline outline what to do is the package-lock.json files get updated
173+
* TODO: outline outline what to do when the package-lock.json files get updated
174+
* TODO: get the npm-released versions re-aligned with the GH versioning.

0 commit comments

Comments
 (0)