GithubHelp home page GithubHelp logo

bansabai / thorntail-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thorntail/thorntail-examples

0.0 0.0 0.0 20.21 MB

Examples of how to write applications using Swarm.

License: Apache License 2.0

Java 22.91% Shell 0.04% HTML 2.15% CSS 1.07% JavaScript 73.45% Scala 0.09% Kotlin 0.04% Ruby 0.13% Dockerfile 0.07% TSQL 0.05%

thorntail-examples's Introduction

thorntail Examples

Please raise any issues found with the examples in our JIRA: https://issues.jboss.org/browse/THORN

Thorntail

This repository contains examples for the Thorntail project.

It is currently listed as alpha release software, subject to massive, possibly-breaking, changes as we determine exactly how it should all hang together.

These Examples

These examples demonstrate utilizing and combining different parts of WildFly to create a self-contained executable jar. They provide small, specific, working examples that can be used as a reference for your own project.

By default, this repository uses SNAPSHOT versions of Thorntail. They are used to test particular aspects of the Thorntail project in addition to being useful examples of what you can do and how you can do it.

Since these examples are SNAPSHOT-centric, our snapshot repository is added to the root pom.xml. If you were to build Thorntail directly, that would of course take precedence.

If you want to build these examples as they stand (using the snapshot) then you should start by either running mvn install (use -DskipTests if you only want to run a specific test(s) at a time) or mvn install inside base/ first and then you can build each individually.

If you want to use our snapshot repository in your own projects, include this in your pom.xml:

<repositories>
  <repository>
    <id>projectodd-snapshots</id>
    <name>Project:odd Snapshots from CI</name>
    <url>https://repository-projectodd.forge.cloudbees.com/snapshot</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>
<pluginRepositories>
  <pluginRepository>
    <id>projectodd-snapshots</id>
    <name>Project:odd Snapshots from CI</name>
    <url>https://repository-projectodd.forge.cloudbees.com/snapshot</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
  </pluginRepository>
</pluginRepositories>

To run the examples for a given release, please clone and checkout the particular Git tag or download from the releases.

UberJar vs non

By default, each example runs using the Maven plugin without constructing an uberjar. To run them as an uberjar, use the -Puberjar profile when invoking Maven.

mvn install -Puberjar

Docker

We have some examples that use Docker which are located in /docker. Building the examples requires that Docker is installed on your machine and that you run Maven with:

mvn install -Pdocker

thorntail-examples's People

Contributors

bobmcwhirter avatar kenfinnigan avatar heiko-braun avatar ladicek avatar sberyozkin avatar emag avatar tobias avatar nmcl avatar gastaldi avatar helio-frota avatar lance avatar michalszynkiewicz avatar pavolloffay avatar icer33 avatar svenruppert avatar bbrowning avatar tomashofman avatar roguexz avatar antoinesd avatar jmesnil avatar jpkrohling avatar mstahv avatar davidsalter avatar starksm64 avatar jamesnetherton avatar matzew avatar manovotn avatar kylinsoong avatar juangon avatar axelwathne 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.