Skip to content

virtengine/ve-portal-v2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Waldur HomePort is a web-based client for the Waldur MasterMind. It uses yarn for dependency management and webpack as module bundler.

Minimal requirements

  • Linux Ubuntu, OS X or Windows Subsystem for Linux 2 with Ubuntu
  • 2 GB of RAM and 2 GB of storage

Installation

  1. Update system and install basic dependencies:

Example for Linux Ubuntu:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git wget
  1. Install Node LTS and yarn:
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
source ~/.bashrc
nvm install --lts
npm install -g yarn
  1. Clone project and go to its folder:
git clone <repository-url>
cd waldur-homeport
  1. Install dependencies via yarn:
yarn

PS. If you see errors related to fsevents on OS X, the workaround is: yarn cache clean && yarn upgrade && yarn.

  1. Create /src/configs/config.json:
cp src/configs/config.json.example src/configs/config.json
  1. Configure config.json. Please read Configuration guide to learn more.

  2. Run application: yarn start.

Server will listen on //localhost:8001

Backend configuration

Use Waldur MasterMind for backend.

Also you should install django-cors-headers from pip in order to add CORS headers:

pip install django-cors-headers

Then you should update waldur_core/server/settings.py and add the following lines at the end of the file:

INSTALLED_APPS += ('corsheaders',)
MIDDLEWARE = ('corsheaders.middleware.CorsMiddleware',) + MIDDLEWARE
CORS_ORIGIN_ALLOW_ALL = True
CORS_EXPOSE_HEADERS = (
    'x-result-count',
    'Link',
)

Development process

See Development guidelines for development policies.

About

VirtEngine Portal V2 is Based on OpenNode's Waldur System

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.6%
  • SCSS 4.4%
  • JavaScript 0.4%
  • CSS 0.3%
  • EJS 0.1%
  • HTML 0.1%
  • Other 0.1%