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

Support using local filesystem as humix storage #2

Open
jeffffrey opened this issue Aug 13, 2016 · 1 comment
Open

Support using local filesystem as humix storage #2

jeffffrey opened this issue Aug 13, 2016 · 1 comment

Comments

@jeffffrey
Copy link
Contributor

Currently humix-think depends on clouddb (i.e. cloudant on bluemix) as the storage - for nodered flow and humix module information. It would be nice to use local filesystem as storage as well . NodeRed already support local filesystem, so the only work left is to be able to save humix module information on local file system.

@michaelchien1972
Copy link

  1. It will be nice if you add 3 more lines for debugging (humix\think\bluemix-settings.js):
    console.log("humix_setting.location:" + JSON.stringify(humix_setting.location)); console.log("humix_setting.storage:" + JSON.stringify(humix_setting.storage)); console.log("humix_setting.storageURL:" + JSON.stringify(humix_setting.storageURL));
    before the code if( humix_setting.location === 'bluemix' ){
  2. This file also need to be modified in order to align the humix-think (humix\sense\config.js):

module.exports = {
thinkURL : 'http://127.0.0.1:3000/'
.
.
}

Thanks!

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

No branches or pull requests

2 participants