These are chat archives for reactioncommerce/reaction

6th
Sep 2017
Jeremy Shimko
@jshimko
Sep 06 2017 01:27
Jeremy Shimko
@jshimko
Sep 06 2017 01:33
ah, I just found that same link on the site. looks like we have a broken link
when in doubt, check the table of contents on the left side. those links should always be up to date
shahid belal
@ConnectBelal_twitter
Sep 06 2017 04:54
When i try to build custom image reaction build mycustom command then i found this error:

E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gcc-4.9/g++-4.9_4.9.2-10_amd64.deb Connection failed

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Fetched 63.4 MB in 2min 28s (427 kB/s)
The command '/bin/sh -c cd $APP_SOURCE_DIR && $BUILD_SCRIPTS_DIR/install-deps.sh && $BUILD_SCRIPTS_DIR/install-node.sh && $BUILD_SCRIPTS_DIR/install-phantom.sh && $BUILD_SCRIPTS_DIR/install-mongo.sh && $BUILD_SCRIPTS_DIR/install-meteor.sh && $BUILD_SCRIPTS_DIR/build-meteor.sh && $BUILD_SCRIPTS_DIR/post-build-cleanup.sh' returned a non-zero code: 100

Error: Docker build failed. Exiting.

Hassan Arshad
@hassanairion12
Sep 06 2017 10:15
Thanks Jeremy
shahid belal
@ConnectBelal_twitter
Sep 06 2017 10:57
Please advide me I am getting this error
ERROR: Mongo not installed inside the container.
Rebuild with INSTALL_MONGO=true or supply a MONGO_URL environment variable.
Josh Cox
@joshuacox
Sep 06 2017 12:09

@ConnectBelal_twitter the problem is the error you posted earlier `E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gcc-4.9/g++-4.9_4.9.2-10_amd64.deb Connection failed

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?` <--- this means debian/apt was not able to download that package. Are you having issues with your internet connection? If debian/apt fails during the build process then reaction will not successfully build.

Josh Cox
@joshuacox
Sep 06 2017 12:29
https://docs.reactioncommerce.com/developer/styleguide <--- why is this link broken? https://docs.reactioncommerce.com/reaction-docs/master/styleguide <-- here is the link from the Table of contents, but the first seems to be accurate as the styleguide.md is indeed in the developer directory
Brent Hoover
@zenweasel
Sep 06 2017 12:44
normally the link points to the branch of the docs it is in
in that case master
Josh Cox
@joshuacox
Sep 06 2017 12:45
looking at all the other links on the same page tutorial/introduction.md none of the other links say master in them, is that inserted automatically somehow?
Brent Hoover
@zenweasel
Sep 06 2017 12:46
In short, yes
By redoc
that allows us to have different versions of the docs for different branches
Josh Cox
@joshuacox
Sep 06 2017 12:46
yep I get that, not sure why the styleguide got skipped, should a .md be added?
[style guide](/developer/styleguide) compare it to the link below for creating a theme [Theming Tutorial](/developer/tutorial/creating-a-theme.md)
Brent Hoover
@zenweasel
Sep 06 2017 12:50
Yeah, it would seem like most of the links that are working have an .md extension, although @machikoyasuda would know for sure
I feel like I’ve fixed the links in that tutorial a couple of times
Josh Cox
@joshuacox
Sep 06 2017 12:52
I'll submit a PR for @machikoyasuda to review
Spencer Norman
@spencern
Sep 06 2017 13:53
Reminder that our bi-weekly community call starts in 7 minutes!
Agenda: https://t.co/6ujS0scF2R
machiko
@machikoyasuda
Sep 06 2017 13:53
@joshuacox Thanks for looking into this. The URL structure for reaction docs, if you're into that sorta thing, is docs.reactioncommerce.com/reaction-docs/<branchname>/<filepath>
Loan Laux
@loanlaux
Sep 06 2017 14:46
Thanks all for a great Community Call!
NemesisMate
@NemesisMate
Sep 06 2017 16:30
@joshuacox I've tried it creating my own Dockerfile: https://pastebin.com/raw/sNGSbR8P.
And then, running it with: docker run -ti -p 80:3000 -e METEOR_ALLOW_SUPERUSER=1 -v $HOME/reaction/:/opt/reaction my_reaction
But the mounting trick doesn't work.
Josh Cox
@joshuacox
Sep 06 2017 19:18
@NemesisMate try with my image docker run -d -p 80:3000 -v $HOME/reaction:/home/node/reaction joshuacox/reactiondev you can also look at my Dockerfile, my best guess is that node is too old inside of ubuntu16.04? you might just try installing a new node version using NVM or another means, but I believe starting FROM node:8 is far easier