Giter Site home page Giter Site logo

openshift-vertx's Introduction

OpenShift template for Vert.x 2.0 applications

Example demonstrating how to run the original Vert.x OpenShift template with vert.x-2.0.0-SNAPSHOT.

How to create your app (with name $name)

Create a new app directory and enter it:

mkdir $name
cd $name
git init

Create a new OpenShift application:

rhc app create -a $name -t diy-0.1

Add MongoDB:

rhc cartridge add mongodb-2.2 -a $name

Use the git url you received in step 2 to add it as a remote repo:

git remote add origin {your_openshift_git_link}

Pull the stuff from OpenShift:

git pull -s recursive -X theirs origin master

Add this repository as new remote:

git remote add template -m master git://github.com/campudus/openshift-vertx.git

Pull locally:

git pull -s recursive -X theirs template master

Deploy to OpenShift. This will run through all action hooks executing them:

git push origin master

To read the log, you need to ssh to your app on OpenShift:

rhc ssh $name
cat $OPENSHIFT_DIY_LOG_DIR/vert.x.log

openshift-vertx's People

Contributors

purplefox avatar narigo avatar marekjelen avatar

Watchers

Alexander Vetter avatar James Cloos avatar  avatar Max Stemplinger avatar  avatar Sascha Schmidt avatar Konstantin Axt avatar

Forkers

angeloh

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.