Website Deployment using the command line interface (cli)

If you need help to get started, have a look at these basic samples/hello world examples.

To deploy your first opeNode site, you first need to get our command line interface, it's simple and easy to get started. It is available on NPM and you can install it via:

npm install -g openode

Then go to your project directory:


Finally, just type:

openode deploy

You will then be prompted for your credentials and project settings. Next, your project will be sent to our cloud environment, and your website will get launched.


Please find below the command line readme, also available on



Build status

opeNode ( command line to control and manage your Node.js instances efficiently.

opeNode is a reliable and fast Cloud Node.js hosting service to deploy your Node.js app instantly.


npm install -g openode


Deploy an Instance

First, just go to your project directory in command line:

cd [your project directory]

And then just type:

openode deploy

This command will upload your local repository to the opeNode cloud, npm install, then launch a secure container of your server, and then put it online. During this command, you can also select between using a or a custom domain.

Note that when you run openode deploy and your website is already running, it will update your files, update the environment variables (if they changed), and reload your website with 0-second-downtime.


openode deploy [--clearNpm] [-t TOKEN -s SITE_NAME]

.openodeignore: If you add a .openodeignore file in your repository, the list of files provided in this file will get ignored (not sent). The format is the same as the well known .gitignore.

Sync - Send only the changed/new files

If you only need to send new files without deploying, then you can simply run:

openode sync

Pull / Backup

If you need to get your remote repository to your local, or need to backup your live website, you need to use the pull command, just like that:

openode pull

This will take the remote files and copy all of them in the current folder. Note that it will overwrite files. Also, if a given local file is not present remotely, it will not be erased locally. Thus, if you need a fresh pull, first remove the local content (rm -rf **) and then run openode pull*.

Upgrading Your Plan

In order to upgrade your plan, you first have to look at the possible plans using:

openode plans

Pick the right id, and then you can upgrade by running:

openode set-plan PLAN_ID

You can always verify which plan is currently active with:

openode plan


To integrate with your favorite continuous integration (CI) tool, you can use the following command in order to generate the .openode file:

openode ci-conf TOKEN SITENAME

Note that you can avoid using ci-conf and provide the token and sitename by using the -t and -s options in the deploy command, for example: openode deploy -t your_token -s your_sitename.


You can obtain the info on your website instance via:

openode status


You can obtain realtime logs by using the following command:

openode logs

Stopping an Instance

openode stop

Restart an Instance

openode restart

Erase all content

In order to clear all content of your cloud repository and stop your instance, the following operation must done:

openode erase-all

Custom Domain

To enable a custom domain, make sure to enter your custom domain while running openode deploy. Then you can manage your custom domain subdomains using the following commands.

List aliases (subdomains)

openode list-aliases

Add an alias (subdomain)

openode add-alias [hostname]

If your custom domain is for example, then you can run

openode add-alias
openode add-alias

in order to point,, and to this instance.

Removing an alias (subdomain)

openode del-alias [hostname]

Defining storage areas

The storage areas are folders which will never be deleted. Those folders can be used for storage purpose (database, configurations, etc.).

List storage areas

openode storage-areas

Add a storage area

openode add-storage-area [relative-folder]

Exemple [relative-folder]: db/

Delete a storage area

openode del-storage-area [relative-folder]

Exemple [relative-folder]: db/