Open nicosaki opened 8 years ago
You'll have to update the client Snowflake app with the same ip address. To verify, test the same ip:port in your browser. The http://192.168.0.5 should display the README while /documentation should show the Swagger API page.
On Aug 19, 2016 2:44 PM, "Nicole Iwasaki" notifications@github.com wrote:
The following two steps regarding configuring hapi are confusing to me:
Update ip in config file w/ ip from ifconfig Example: hapi: { port: 5000, ip: '192.168.0.5' }ik
Update Snowflake src/lib/config.js w/ same ip from step above Example: HAPI: { local: { url: 'http://192.168.0.5:5000' }, remote: { url: 'enter your remote url here' } }
I can only find one config file, the one at src/lib/config.js in the second step. Where is the first configuration, with port and ip, found? What filepath? Thanks!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bartonhammond/snowflake-hapi-openshift/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/ABORPIKHxogsUpEOvwbY7mnnQVkKDwBGks5qhgeAgaJpZM4JoysU .
For the snowflake-hapi-openshift
server, the config.js
belongs in the src
directory. You'll find a config.sample.js
in that location. Just copy that file to config.js
and put in the correct values.
@nicosaki you want this file : https://github.com/bartonhammond/snowflake-hapi-openshift/blob/master/src/config.sample.js
The following two steps regarding configuring hapi are confusing to me:
Update ip in config file w/ ip from ifconfig Example: hapi: { port: 5000, ip: '192.168.0.5' }ik
Update Snowflake src/lib/config.js w/ same ip from step above Example: HAPI: { local: { url: 'http://192.168.0.5:5000' }, remote: { url: 'enter your remote url here' } }
I can only find one config file, the one at src/lib/config.js in the second step. Where is the first configuration, with port and ip, found? What filepath? Thanks!