Giter Site home page Giter Site logo

vertx-graalvm-example's Introduction

vertx-graalvm-example

This is your SPA blueprint project. Ensure you have node installed on your path. And optionally GraalVM. [ES4X][https://reactiverse.io/es4x/]

Build

Run your package manager tool to install the required dependencies:

npm install

or

yarn install

From now on will assume you're using NPM.

Run

npm start

In case you need to use >ES5.1 features you MUST run on GraalVM.

Packaging

The project can be packaged into a container. For this run:

npm run dockerfile

This step will create the basic Dockerfile required to run your application. By default it will use the GraalVM image but you're not required to. The best options are either GraalVM or JDK >=11.

docker build -t yourtag:your-version .

And run the container as:

docker run --rm --net=host yourtag:your-version

Any arguments after the image name will be passed to the application, this allows the customization of the start command, for example --cluster will start the application in a vert.x cluster.

vertx-graalvm-example's People

Contributors

itxve avatar

Watchers

 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.