#NodeCentOSPSimpleApp w/ Provisioning This tutorial will walk you through deploying a simple Hello World Node.js Application to any server with Distelli.
Distelli makes it fast and easy for developers to deploy code to any server with the push of a button. Our platform empowers developers and their teams to spend less time building and maintaining complex deployment tools and homegrown scripts so they can focus their valuable time and effort on creating the software that powers their business. Distelli is funded by Andreessen Horowitz.
##Prerequisites: ##
- Sign up for a free Distelli account.
- Install the Distelli CLI Tool.
- Install the Distelli agent on your server.
##Deploying Your Node.js Application With Distelli##
- Enter the following commands to clone this repository onto your local machine:
git clone https://github.com/Distelli/NodeCentOSSimpleApp.git
You should see the following message on successful clone: Then, use the cd command to enter the directory:
cd NodeCentOSSimpleApp
- To create an application with Distelli, enter the following command into your terminal replacing "username" with your Distelli username:
$ distelli create username/NodeCentOSSimpleApp
You'll be prompted to login, use the email address and password associated with your Distelli account: You should see the following message on successful app creation:
- To create an environment with Distelli, login to your Distelli account. Once logged in, you should see the Node application you just created. Select the NodeCentOSSimpleApp:
- Now, let's add a server to the environment. Select the "Servers" button on the top right of the page:
- Open the distelli-manifest.yml file with your favorite text editor. Replace with your Distelli username:
- Now we're ready to push our first release. Enter the following command into your terminal:
$ distelli push -m "First push with Distelli"Enter the email and password associated with your Distelli account: You should see the following message on successful push: 8. Now we're ready to deploy our first release. Navigate back to Distelli.com.
Select your application and then click the green lightning bolt: Congrats, you've just deployed your first application with Distelli!
Questions? Shoot us an email at support@distelli.com.