Code Monkey home page Code Monkey logo

flow-layout-app_layout-vaadin's Introduction

Flow Layout App-Layout Vaadin

This is the demo code for the tutorial https://vaadin.com/tutorials/app-layout/vaadin

Demo running on a local Docker

If you want to run this demo on your local machine, you can try out the docker image that is provided. To run this type:

docker pull vaadintutorials/flow-layout-app_layout-vaadin
docker run -p8899:8899 --name demo vaadintutorials/flow-layout-app_layout-vaadin

After the images/container started you can try this demo with your local browser by calling the following URL http://localhost:8899

cleaning up after trying

After you used this docker image you can clean up your system with the following commands.

docker rm demo
docker image rm vaadintutorials/flow-layout-app_layout-vaadin

building this Docker-image by yourself

If you want to build this docker image on your machine you can use the provided Dockerfile

docker build -t vaadintutorials/flow-layout-app_layout-vaadin .

Demo running on Heroku

On Heroku you find a deployed version. https://flow-layout-app-layout-vaadin.herokuapp.com//

How to build this locally?

If you want to build this demo check out the repository and invoke the command: mvn clean package -Dvaadin-install-nodejs

Together with this demo, you will find some jUnit5 Selenium UI Tests based on Testbench To get this running you need a license, or you can request a trial from https://vaadin.com/trial

To activate the Testbench tests during the maven build process set the environment variable TESTBENCH with the value on With your IDE you can run every test without setting this variable.

How to prepare a vaadin app for Heroku

To support the Heroku pipeline we need a few preparations.

  1. the app must be able to get a configured port for the http port during the start up
  2. add the shade plugin to create a fat jar
  3. create the file Procfile and add the line ``web: java -jar target/vaadin-app.jar -port $PORT```
    • web - to activate the web profile
    • -jar - define what fat jar must be started
    • -port make the dynamic associated port available for the app
  4. add a file settings.xml to configure the maven build process

flow-layout-app_layout-vaadin's People

Contributors

svenruppert avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

omardjagh

flow-layout-app_layout-vaadin's Issues

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.