hpi-swt2 / vm-portal

A Ruby on Rails application for managing virtual machines via VMware vSphere
MIT License
3 stars 1 forks source link

VM-Portal

This Ruby on Rails application enables managing of virtual machines via VMware vSphere. License

Branch Travis CI Coverage CodeClimate Codefactor Codebeat
master Build Status Coverage Status --- CodeFactor codebeat badge
dev Build Status Coverage Status Maintainability CodeFactor codebeat badge

Deployment

The application requires access to internal resources, which are not directly available from the general internet. Therefore, the application is deployed on university servers.

An overview of the status of all involved systems is available here: https://stats.uptimerobot.com/j8DADFQnv

Deployment Error Collection

Errors that occur in the deployed systems are reported to a central Errbit error collection application. It can be found here:

You can login using your GitHub credentials.

Deployment Details

Automatic deployments are handled by a dedicated application:

The application shows an overview of the latest deployment attempts and handles deployment (via mina) to the university internal systems when it receives a POST request. These requests are send by Travis CI after a successful build, see the .travis.yml.

Development Setup

Note: Please be aware that the application is designed to manage internal university resources. These are only available from the internal network. Therefore, currently a VPN connection to the university network is required for those parts of the application that interact with internal resources.

Local

Using Vagrant (Virtual Machine)

If you want to use a VM to setup the project (e.g. when on Windows), we recommend Vagrant in combination with Virtualbox. The Vagrantfile in the project root contains the needed configuration. If you have trouble starting the VM, try changing the parameters to adapt to your hardware. Please keep in mind that this method may lead to a loss in performance, due to the added abstraction layer.

Start VM

Inside the VM

Stop VM

Developer Guide

Setup

Testing

Linting

Debugging

Generating