Giter Club home page Giter Club logo

nodecentossimpleapp's Introduction

#NodeCentOSSimpleApp 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 [email protected].

nodecentossimpleapp's People

Contributors

doct15 avatar ka83753 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.