Some users asked me about a way to create fully self-contained nar
archives that do not requires that node or nar must be already installed
in the system in order to run or extract an application
I've finally decided to provide support to this feature. From 0.3.0
version you can create executable binary-like nar archives that do not
have external dependencies. node binary and nar package are now embedded
$ nar create --executable
> It generates server-0.1.0.nar, for example
Then you can distribute your archive into a fresh server (without node
installed) and simply run
$ chmod +x server-0.1.0.nar
$ ./server-0.1.0.nar run --args-start='--port 8080'
$ npm install -g nar
I hope this will be useful
Ah! I just want to mark that nar was created to be an application
container to distribute, run and install private node applications that
are outside of the npm ecosystem
El 10/05/14 22:36, Tomás Aparicio escribió:
FYI
nar 0.2.0 is out with useful new features.
Now you can download, install and run archives from remote servers
Some CLI usage examples:
$ nar run http://server.net/app-0.1.0.nar
$ nar install http://server.net/app-0.1.0.nar --save
$ nar get http://server.net/app-0.1.0.nar
More info: https://github.com/h2non/nar
El 17/04/14 20:02, Tomas Aparicio escribió:
Hi everyone!
I just released nar, a simple utility for creating self-contained
node applications that are ready to ship and run
It was created especially for deployments into isolated servers
I think it could be useful to the node community in general
Note that nar is still beta. Feedback, issues and PR are really
appreciated
https://github.com/h2non/nar
Thanks for reading!
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to a topic in
the Google Groups "nodejs" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/nodejs/0_C1hcAbUyM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/53AFFC5F.5000104%40aparicio.me.
For more options, visit https://groups.google.com/d/optout.