c9-core/plugins/c9.cli.publish
nightwing 82a2d8a260 polish 2017-05-02 22:58:35 +04:00
..
README.md c9-auto-bump 3.1.2814 2016-06-26 13:53:19 +02:00
publish.js polish 2017-05-02 22:58:35 +04: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