Tinyblargon / DemoOnDemand

Application for creating VM-templates and deploying said templates in a vSphere environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DemoOnDemand

Application for creating VM-templates and deploying said templates in a vSphere environment.

Production

Prerequisites

Install the following packages:

  • docker-ce
  • docker-ce-cli
  • containerd.io
  • docker-compose-plugin

Setup

  1. Configure the config under backend inside the file docker-compose.yml.
  2. Update docker volume mappings for backend and db in the docker-compose.yml file.
  3. Update environment variables for frontend and db in the docker-compose.yml file.
  4. Run docker-compose
docker compose up -d --build

Development

Backend

install go 1.18

Copy the example config file

cp backend/config.yml.example backend/config.yml

configure settings in backend/config.yml

Frontend

Install npm

Debian

apt update
apt install npm

Project setup

cd frontend
npm install

Configure the URL of the API in .env file

cp .env.example .env.local

change VUE_APP_ROOT_API= in frontend/.env.local

Compile and hot-load for development

npm run serve

About

Application for creating VM-templates and deploying said templates in a vSphere environment.

License:MIT License


Languages

Language:Go 73.8%Language:Vue 25.0%Language:JavaScript 0.6%Language:HTML 0.3%Language:Shell 0.1%Language:CSS 0.1%