GithubHelp home page GithubHelp logo

lago-demo's Introduction

Lago Demo

About

In this demo we will learn how to set up a basic environment with Lago. The environment will consist of three virtual machines that will host Jenkins infrastructure.

The VMs

  • "vm0-server" - Jenkins server
  • "vm1-slave" - Jenkins slave
  • "vm2-slave" - Jenkins slave

The network

The vms will be connected to the same network, There will be also connectivity between the vms host and the internet.

Prerequisite

git clone https://github.com/lago-project/lago-demo.git

Let's start !

From within the cloned repository, run the following commands:

  • Create the environment.
lago init
  • Start the vms.
lago start
- Installing the vms:
  • Jenkins will be installed on the server.
  • OpenJDK will be installed on the slaves.
lago deploy

The environment is ready! Now you can open your favorite browser, enter "vm0-server-ip-adress:8080" and the jenkins dashboard will be opened. How to figure out what is the ip of "vm0-server" ? Check out the following commands:

  • Open a shell to vm0-server (for any other vm, just replace 'vm0-server' with the name of the machine)
lago shell vm0-server
  • Print some usefull information about the environment.
lago status

When you done with the enviroment:

  • Turn off the vms.
lago stop
Note:

To turn on the vms, use:

lago start

And if you will not have a need for the environment in the future:

  • Delete the vms.
lago destroy

Advanced stuff

For more advanced stuff please check out this tutorial

lago-demo's People

Contributors

nvgoldin avatar gbenhaim avatar eedri avatar kivio 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.