c9-core/plugins/c9.cli.publish
Tim Robinson 8f7f129a1e Merge pull request +9885 from c9/prevalidate-packages
[Trivial] Validate package name only contains valid characters.
2015-10-21 11:04:01 +02:00
..
README.md initial commit 2015-02-10 23:41:24 +04:00
install.js Fix tests (unable to add new test) 2015-08-05 02:53:57 +00:00
list.js Tweaks to c9 list command 2015-07-03 19:50:46 +00:00
publish.git.sh do not automatically create tag from publish 2015-04-25 03:24:10 +04:00
publish.js Merge pull request +9885 from c9/prevalidate-packages 2015-10-21 11:04:01 +02:00
publish_test.git.sh initial commit 2015-02-10 23:41:24 +04:00
publish_test.js Added default value for permissions and made it error if it's not set to org or world 2015-10-19 13:33:08 +00:00

README.md

=== Listing plugins When running in debug mode use the following env variables to work with the dev api:

NODE_TLS_REJECT_UNAUTHORIZED=0 C9_APIHOST=api.c9.dev

Also ensure you run api locally.

=== Installing plugins To install you need to specify a projectId on the command line. Go to https://api.c9.dev/user/projects and get an id of a project you own then add:

C9_PID=

before c9 install

Curl command to test installing:

curl -XPOST -k -v -u timjrobinson:password https://api.c9.dev/projects/90/install/awesome/0.0.1

Example install command:

NODE_TLS_REJECT_UNAUTHORIZED=0 C9_APIHOST=api.c9.dev C9_PID=90 c9 install

NODE_TLS_REJECT_UNAUTHORIZED=0 C9_APIHOST=api.cloud9beta.com c9 install