Monday, June 06, 2022

The onegrid.run Commands

Grid CLI Commands

Initialize a project and setup SSH keys
grid init

Create your first node
grid create node-name

View the current status of your node
grid status

View the health status of all the servers in your node
grid health

Push the source code to the node
grid deploy

Run any unix command on the production instance and view the output
grid run <unix command>
Example:
Show all the environment variables and their values
grid run ENV

Go to rails production console in sandbox mode:
grid console