Deploy Ruby, Rails projects from GitLab, GitHub or BitBucket repository.
In addition to deployment via Git, NodeChef also supports deploying Ruby, Rails projects by uploading from the dashboard or using the NodeChef CLI. See
the menu on your left hand side on how to deploy by uploading your project folder from the dashboard.
NodeChef cloud supports deploying your Ruby, Rails projects together with a MongoDB, MySQL or PostgreSQL database if required with a few clicks. We automatically
build your project and run it in Docker containers on bare metal servers for the best performance.
We support integrations with GitLab, GitHub or BitBucket making it easy to deploy code living in your repository to your app containers running on NodeChef.
To deploy, follow the below three steps and your Ruby, Rails app will be up and running in the cloud in no time. After deployment, you can proceed to add your custom
Notes on Ruby, Rails projects
NodeChef automatically detects your project as Ruby, Rails when the Gemfile and Gemfile.lock is found in the root directory of the project.
We always use the latest version of the Cloudfoundry buildpack to build your project and you can find supported Ruby versions here.
Your first build runs slower than subsequent builds as NodeChef caches dependencies between builds.
Create your Ruby, Rails app
Provision your app and/or database containers from the Deployments tab in the NodeChef Dashboard. On the Deployments tab, enter your application name, choose your app container size, database engine and size (you can also select none to use an external database), datacenter location and then click “Launch Cluster”.
Authorize NodeChef to access your GitLab, GitHub or BitBucket account
After your cluster is launched, move to the Task Manager → App Actions → Git integration to configure GitLab, GitHub or BitBucket integration.
You only have to configure the integration if you did not log in with a Git provider. If you logged in with one of the Git providers, git integration
should be already configured.
To configure GitLab integration, you have to authenticate with your Git repository. You only have to do this once per NodeChef account. Click “Connect to (repository)”, to start the authentication.
Deploy your Ruby, Rails project
After your account is linked to a Git repo, you can selectively deploy from branches.
You can also setup automatic deployment whenever you run the "git push" command. Once we receive the hook from your git provider,
deployment progress will be visible on the dashboard from where you configured "git push".