Comments (9)
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.
this would be moderately awesome =]
from hummusjs.
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.
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.
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.
@brianreavis seems like all there is to do (after i opened a travis account and created an S3 bucket) is to:
- grab your .gitignore as is
- grab your .travis.yml as is (except maybe those funky global secure...what are these?)
- grab your binding.gyp as is
- grab your hummus.js as is
- 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.
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.
@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.
yap. @brianreavis thanks a lot man for all your help on this. wonderful new addition.
from hummusjs.
Related Issues (20)
- Is there a way to put an image inside a cell in the tables?
- Error library v1.0.109 HOT 1
- Text replace
- Annotation modification
- Remove or replace some text in PDF file
- Build failed after upgrading node from 14.x to 15.x (docker - ubuntu) HOT 1
- unable to append to page, make sure source file exists at merge
- How to remove Rectangle using position?
- Spelling Error: "parhaps" HOT 2
- Last commit has broken the instalation on CentOS7 HOT 6
- Invalid PDF input causes `SIGSEGV` crash HOT 15
- unable to append page, make sure it's fine HOT 2
- whitesource scan issues caused by minimist 0.0.8 HOT 1
- @galkahana @filmerjarred
- How to save the splitted pdf to another directory
- TypeError: Unable to create PDF file, make sure that output file target is available
- Build failed with v1.0.115 with node v12 HOT 2
- Typing correction HOT 1
- TypeError: Unable to write page when calling writePage HOT 5
- Delete object from pdf HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hummusjs.