Welcome, Guest Login

Public Cloud Center

Project Commands

Last Updated: Apr 19, 2017 10:39AM EDT

Quick Reference

project create Creates a new project.
project list List your currently available projects.
list Alias of project list.
project deploy <dir> Zips a directory and deploys it to your selected project. If no directory is provided, your current working directory is used.
deploy <dir> Alias of project deploy.
project scale <servos> Scales a project to use the number of servos given.
project stop Stops your selected project, if it is running.
project start Starts your selected project.
project restart Restarts your selected project.
project logs Retrieves the last 2000 lines of the selected project's logs.
project logs tail Begins a real-time stream of a project's logs.
logs tail Alias of project logs tail.
project logs clear Clear all log data.

project create

Creates a new project.

Params

No Params

Prompts

name The name of your new project.

Example

$ xervo project create
Welcome to Xervo
You are logged in as spiderman
[?] Enter a project name: Lizard Locator
[√] New project Lizard Locator created.

project list (list)

List your currently available projects.

Params

No Params

Prompts

No Prompts

Example

$ xervo list
Welcome to Xervo
You are logged in as spiderman
Current projects:
Lizard Locator (lizard-locator-895.app.xervo.io) - RUNNING

project deploy (deploy)

Zips a directory and deploys it to your selected project. If no directory is provided, your current working directory is used. During a deploy your logs will be streamed in real-time.

Params

dir (optional) The directory to deploy.

Options

-p (--project-name) The project to deploy to, specified as the project name. This will skip the project selection prompt and deploy directly to the project with the name specified.
-m (--include-modules) Indicates you would like to include any node_modules folders in your project bundle.
-n (--node-version) Specifies the node version to use when deploying Meteor projects, if applicable.
-f (--force-npm-install) Force the deploy to install modules for your project rather than using cached modules.
-r (--registry) The registry that will be used when running npm install when your project is deployed.
-t (--project-type) Specifies type of application you are deploying. Overrides the auto-detection that occurs normally. Acceptable types are:
nodejs - A typical Node.js application.
meteor - A Meteor application.

Prompts

select project If you have more than one project, and do not provide a project name, you must select the project before continuing.

Example

$ xervo deploy
Welcome to Xervo
You are logged in as spiderman
[?] Are you sure you want to use project Lizard Locator? (yes) yes
Compressing project...
2.9 KB written
Uploading project...
Upload progress [===================] 100%
Deploying Project...
INFO: Attaching persistent storage.
Mon Sep 23 2013 22:37:25 GMT+0000 (UTC)
Next log in 4046ms
INFO: Found package.json file: /package.json
INFO: Node version specified in package.json: 0.10.x
INFO: Initializing Node v0.10.18
INFO: Running npm install.
INFO: Registry: http://registry.npmjs.org
npm http GET http://registry.npmjs.org/marked
npm http GET http://registry.npmjs.org/underscore
npm http GET http://registry.npmjs.org/hbs
...
INFO: Starting application.
[√] Lizard Locator running at lizard-locator-895.app.xervo.io

project scale

Scales a project to use the number of servos, IaaS providers, and regions specified. For multi-region scaling please read the scaling documentation for more details.

Params

servos If you're currently scaled to a single region you can provide just the number of servos.
region list If you're scaled to more than one region, you must specify each IaaS provider and region. The format is iaas.region=count.

Prompts

select project If you have more than one project, you must select the project before continuing.

Example - Single Region

$ xervo project scale 2

Example - Multiple Regions

$ xervo project scale joyent.us-east-1=3 joyent.eu-ams-1=2 aws.us-east-1a=1

project stop

Stops a currently running project.

Params

No Params

Prompts

select project If you have more than one project, you must select the project before continuing.

Example

$ xervo project stop
Welcome to Xervo
You are logged in as spiderman
[?] Are you sure you want to use project Lizard Locator? (yes) yes
Stopping [    =               ]
[√] Lizard Locator stopped

project start

Starts a currently stopped project.

Params

No Params

Prompts

select project If you have more than one project, you must select the project before continuing.

Example

$ xervo project start
Welcome to Xervo
You are logged in as spiderman
[?] Are you sure you want to use project Lizard Locator? (yes) yes
Starting [    =               ]
[√] Lizard Locator started at lizard-locator-895.app.xervo.io

project restart

Restarts a currently running project.

Params

No Params

Prompts

select project If you have more than one project, you must select the project before continuing.

Example

$ xervo project restart
Welcome to Xervo
You are logged in as spiderman
[?] Are you sure you want to use project Lizard Locator? (yes) yes
Restarting [    =               ]
[√] Lizard Locator restarted at lizard-locator-895.app.xervo.io

project logs

Retrieves the last 2000 lines of the selected project's logs.

Params

No Params

Options

-p (--project-name) The project to retrieve logs from, specified as the project name. This will skip the project selection prompt and get the logs directly from the project with the name specified.
-d (--download) Flag that signals to download the logs instead of printing them.
-o (--output) Specifies the file to download to. Must be file type tar.gz.

Prompts

select project If you have more than one project, you must select the project before continuing.
select servo If you have more than one servo, you must select the servo before continuing.

Example

$ xervo project logs -d
Welcome to Xervo
You are logged in as spiderman
[?] Are you sure you want to use project Lizard Locator? (yes) yes
[✓] Lizard_Locator_2013-07-29_21.30.40.tar.gz downloaded to c:\Users\parker\.

project logs tail (logs tail)

Begins a real-time stream of a project's logs. Logs will continue to stream until canceled.

Params

No Params

Options

-p (--project-name) The project to retrieve logs from, specified as the project name. This will skip the project selection prompt and get the logs directly from the project with the name specified.

Prompts

select project If you have more than one project, you must select the project before continuing.
select servo If you have more than one servo, you must select the servo before continuing.

Example

$ xervo project logs tail -p "Lizard Locator"
Welcome to Xervo
You are logged in as spiderman
[✓] Log streaming started (ctrl-c to exit)...
Lizard located at 23,45
Lizard located at 87,23
...

project logs clear

Clears all log data.

Params

No Params

Options

-p (--project-name) The project to clear the logs for, specified as the project name. This will skip the project selection prompt and clear the logs for the project with the name specified.

Prompts

select project If you have more than one project, you must select the project before continuing.

Example

$ xervo project logs clear
Welcome to Xervo
You are logged in as spiderman
[?] Are you sure you want to use project Lizard Locator? (yes) yes
[✓] Logs successfully cleared.

Go to top
 

Contact Us

    Our Support Policy
    Submit a Support Request

  • Public Cloud Support Hours
    9am-5pm EST Mon-Fri
    Outside of these hours response times may be up to 24hrs.


    Submit a support ticket by clicking 'status and support' icon on the left side of this page.



help@hellotangible.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en_us/portal/articles/autocomplete