These are chat archives for allegro/ralph

17th
Aug 2016
✪ vi4m Marcin Kliks
@vi4m
Aug 17 2016 15:47
@gatvo look at the ralph-cli sources, there's an example there
Bryan Taylor
@brylor
Aug 17 2016 15:53
@gatvo I came up with this in ruby, its pretty crufty atm but it seems to work https://gist.github.com/brylor/599f3002c1579567ba806a6ed73bbd5b
be wary of trailing slashes with the API
✪ vi4m Marcin Kliks
@vi4m
Aug 17 2016 15:58
looks good
Bryan Taylor
@brylor
Aug 17 2016 16:27
thanks! :)
sigh, docker is such a bear sometimes
Bryan Taylor
@brylor
Aug 17 2016 16:46
latest git pull, docker-compose up gets me:
npm http GET https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.0.tgz
npm http 200 https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.0.tgz

> node-sass@3.8.0 install /opt/ralph/node_modules/gulp-sass/node_modules/node-sass
> node scripts/install.js

Binary downloaded and installed at /opt/ralph/node_modules/gulp-sass/node_modules/node-sass/vendor/linux-x64-11/binding.node

> node-sass@3.8.0 postinstall /opt/ralph/node_modules/gulp-sass/node_modules/node-sass
> node scripts/build.js

"/opt/ralph/node_modules/gulp-sass/node_modules/node-sass/vendor/linux-x64-11/binding.node" exists.
 testing binary.
Binary is fine; exiting.
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /opt/ralph/npm-debug.log
npm ERR! not ok code 0
ERROR: Service 'web' failed to build: The command '/bin/sh -c $SCRIPTS_PATH/provision_js.sh' returned a non-zero code: 1
Bryan Taylor
@brylor
Aug 17 2016 16:55
wth I revert to my old commit and i get the same err
gatvo
@gatvo
Aug 17 2016 17:31
@vi4m @brylor Thanks so much! ralph-cli looks promising
Bryan Taylor
@brylor
Aug 17 2016 18:36
damn, spun up a bran new centos, fresh docker, got the same thing
✪ vi4m Marcin Kliks
@vi4m
Aug 17 2016 18:45
which docker-compose.yml are you using?
Bryan Taylor
@brylor
Aug 17 2016 18:46
The one from the contrib directory, only thing I changed was host port https://gist.github.com/brylor/b68f46f9f58ab1899ae7bb2a87130a2b
I can't really get to /opt/ralph/npm-debug.log not sure how to run the failed container from the build
lets see if i can make a volume of /opt/ralph onto the host and pull it that way...
Bryan Taylor
@brylor
Aug 17 2016 19:57
I think something is unpublished ...
gatvo
@gatvo
Aug 17 2016 20:57
blob
is it possible to specify the width for a particular asset model? I'm thinking of half-racks
Bryan Taylor
@brylor
Aug 17 2016 20:58
you can make a blade enclosure with slots
✪ vi4m Marcin Kliks
@vi4m
Aug 17 2016 21:01
@brylor you can install deb package inside the docker, to skip this npm bug
just apt-get install ralph-core as our guidline says
or just wait for @ar4s till the next day, he maintains this docker-compose configuration
to me looks like some sort of npm repo bug, they're sorta unstable these times