Git Product home page Git Product logo

openode_deploy_example's Introduction

simplinnovation

Deploy NodeJS (Express App) to OpeNode.io

opeNode (https://www.openode.io/) is a reliable and fast Cloud Node.js hosting service to deploy your Node.js app instantly. In this repo, I'll share the example of Node.js app (using Express) that can be deployed to opeNode. Follow my instructions below. Happy hacking!

simplinnovation_openode

1. Create an account by sign-up/login to opeNode.

2. Install opeNode CLI (Command Line Interface) globally:

  $ npm install -g openode

3. Clone the Node.js boilerplate from my repo:

  $ git clone https://github.com/LintangWisesa/OpeNode_Deploy_Example.git

4. Go to the repo then install all packages needed:

  $ cd OpeNode_Deploy_Example
  $ npm install

5. Edit Express app route on routes/renderer.js! Make sure there is no error on your app by running server.js. Server will be running by default on localhost:3002!

  $ node server

or simply type:

  $ npm start

Open localhost:3002 via browser, then try also to open localhost:3002/something. If everything's fine, the response will be similar to the picture below:

simplinnovation_ok

6. So your app is working fine locally. Now, it's time to deploy to opeNode:

  $ openode deploy

Answer some questions & follow its process until done.

    Would you like to [l]ogin or [r]egister a new account?:  (r) l
    email:  [email protected]
    password: *****

    [DDD MMM dd yyyy hh:mm:ss GMT+0700 (SE Asia Standard Time)] -  [+] Authentication valid.
  
    Type your subdomain sitename (Example: my-site) OR custom domain (mysite.com): lintang

On last step, we will get our app's URL on opeNode.

  [ { location: 'france',
      result: { result: 'success', URL: 'http://my_url.fr.openode.io/' } } ]

Try to open that URL via browser. Finish! Your app has just been deployed!

simplinnovation_online

More information click here.

Lintang Wisesa ๐Ÿ’Œ [email protected]

Facebook | Twitter | Google+ | Youtube | :octocat: GitHub | Hackster

openode_deploy_example's People

Contributors

lintangwisesa avatar

Watchers

James Cloos avatar Dony Putra 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.