Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config for Hapi local: ambiguous setup directions #7

Open
nicosaki opened this issue Aug 19, 2016 · 3 comments
Open

Config for Hapi local: ambiguous setup directions #7

nicosaki opened this issue Aug 19, 2016 · 3 comments

Comments

@nicosaki
Copy link

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!

@bartonhammond
Copy link
Owner

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" [email protected] 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
#7, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABORPIKHxogsUpEOvwbY7mnnQVkKDwBGks5qhgeAgaJpZM4JoysU
.

@bartonhammond
Copy link
Owner

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.

@siemiatj
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants