- Notifications
You must be signed in to change notification settings - Fork0
A gx package manager environment tool for node.
License
ipmjs/gx-node
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Agx package manager environment toolfor node.
Please note thatthis project is under development, some features proposed may not beimplemented and any information provided is subject to change. Currently, there is not even any source code for this specific gx environment tool,we must plan!.
Users should haveIPFS of at least version0.4.0. gx can use apublic gateway to download node packages as gx dependencies, but if you wish to publish apackage to the network, a locally runningIPFS daemonis an absolute requirement.
go get -u github.com/ipmjs/gx-nodeThis will download thegx-node source into$GOPATH/src/github.com/ipmjs/gx and build and install a binary to$GOPATH/bin. To modifygx-node, just change the source in$GOPATH/src/github.com/ipmjs/gx and rungo build.
NAME: gx-node - A gx environment tool for node.USAGE: gx-node [global options] command [command options] [arguments...]VERSION: 0.0.0AUTHOR(S): whyrusleeping reimertz lukeeeebennettCOMMANDS: updateUpdate a node package that is already a gx dependency. importImport a node package as a gx dependency. hookNode-specific hooks called by gx. help, hShows a list of commands or help for one command.GLOBAL OPTIONS: --help, -hShows a list of commands or help for one command. --version, -vShows version information.In the root directory of your node package, just run:
gx init --lang=nodegx will create a newpackage.json for you with some default values.From there, all youhave to do is rungx publish and gx will return a hash addressfor your new package.
You will need a running IPFS daemon for this to work.
Importing an existing node package from gx is easy, just grab its hash address fromsomewhere, and run:
gx import <package-hash>If you would like to get involved withgx-node orgx, please open anissue or stop by #gx and #ipfs on freenode irc!
The MIT License (MIT).Copyright (c) 2016 Luke Bennett.Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.About
A gx package manager environment tool for node.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.