Code Monkey home page Code Monkey logo

Comments (9)

galkahana avatar galkahana commented on May 31, 2024

open, yeah. though i'm not familiar yet with it. will read, looks interesting. in the meantime if you got some time and will to assist, go for it :). thanks. Gal.

from hummusjs.

taxilian avatar taxilian commented on May 31, 2024

this would be moderately awesome =]

from hummusjs.

brianreavis avatar brianreavis commented on May 31, 2024

I've set this up here: https://github.com/naturalatlas/HummusJS (prebuilt binaries available for OSX and linux). @galkahana If interested and if you set up Travis / a S3 bucket, I'd be happy to help integrate this back into this repo. Otherwise, I don't mind keeping the fork up to date

from hummusjs.

galkahana avatar galkahana commented on May 31, 2024

thanks @brianreavis. i'll setup a travis account soon as well as s3. might need some help as i'm not very familiar with pregyp.
bare with me though...super busy with other matters, mfraid.

b.t.w, just to clear things - travis is interesting for this matter? or just another thing altogather simply running the tests?

from hummusjs.

brianreavis avatar brianreavis commented on May 31, 2024

travis is interesting for this matter? or just another thing altogather simply running the tests?

Travis is needed in order to build all the different variations. Right now it's configured to build: 0.10, 0.12, 4.0, and 4.2 for both Linux and Mac. If [publish binary] is found in the commit message, pre-gyp will package up hummus.node and place it on S3 for each build.

from hummusjs.

galkahana avatar galkahana commented on May 31, 2024

@brianreavis seems like all there is to do (after i opened a travis account and created an S3 bucket) is to:

  1. grab your .gitignore as is
  2. grab your .travis.yml as is (except maybe those funky global secure...what are these?)
  3. grab your binding.gyp as is
  4. grab your hummus.js as is
  5. grab your package.json
    5.1 change the following to fit to the current values in my repo - name, description, repository/url,
    5.2 change binary/host to point to my S3 bucket
    [do i need the makefile?]

makes sense?

looks like i'll also need to setup permissions properly on S3. i'll follow the node-pre-gyp instructs.

anything else you can warn me from? i'm a bit clueless here.

Gal.

from hummusjs.

brianreavis avatar brianreavis commented on May 31, 2024

do i need the makefile?

Nope! It's just something I use to save on some typing. Not mandatory.

grab your .travis.yml as is (except maybe those funky global secure...what are these?)

For the global secure values, see this section of the pre-gyp guide. Those are just S3 credentials that pre-gyp uses to upload the artifacts. Those are the only values in .travis.yml you should have to update.

anything else you can warn me from?

When setting up the bucket policy (guide), make sure the "Resource" array looks like this:

"arn:aws:s3:::galkahana-node-binaries",
"arn:aws:s3:::galkahana-node-binaries/*"

Instead of this:

"arn:aws:s3:::galkahana-node-binaries/*"

The guide only lists the second one, which caused problems for me. Other than that, I think that's about it. If there's anything specific that pops up, drop a comment here and I'll try to help figure it out.

from hummusjs.

brianreavis avatar brianreavis commented on May 31, 2024

@galkahana Awesome – looks like it's all set up!

Brians-MacBook-Pro:~ brianreavis$ npm install hummus
> [email protected] install /Users/brianreavis/node_modules/hummus
> node-pre-gyp install --fallback-to-build

[hummus] Success: "/Users/brianreavis/node_modules/hummus/binding/hummus.node" is installed via remote
[email protected] node_modules/hummus

from hummusjs.

galkahana avatar galkahana commented on May 31, 2024

yap. @brianreavis thanks a lot man for all your help on this. wonderful new addition.

from hummusjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.