Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

puppetlabs-seteam/PFA_NodeJS_SampleApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

UPDATE!

This repository is no longer in use by the Puppet SE Team, and will be official Archived on Friday, July 1st. It will then be deleted on Friday, July 15th. If you are using any of the included code in any way, please take efforts to preserver your access to the code at your earlier convenience.

Thanks! - The Puppetlabs SE Team

#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: ##

##Deploying Your Node.js Application With Distelli##

  1. 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
  1. 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:

  1. 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:

Select the environments tab:

Create a new environment by selecting "New Environment":

Name the environment "NodeEnvironment" then select the "Create Environment" button:

  1. Now, let's add a server to the environment. Select the "Servers" button on the top right of the page:

Now select the "Add/Remove Servers" button on the top right of the page:

You should see the server you installed the agent on prior to starting this tutorial. Add that server to the environment by selecting the add button:

  1. Open the distelli-manifest.yml file with your favorite text editor. Replace with your Distelli username:

Note: This is not the email you used to sign up for your Distelli account, this is the unique username selected after signup.
  1. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published