Git Product home page Git Product logo

waldur-homeport's Introduction

Introduction

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

System Requirements

Development/testing:

  • Linux (CentOS 7 and Ubuntu 14.04 tested) or OS X
  • 2 GB of RAM

Installation

  1. Update system and install basic dependencies: Example for CentOS 7:
yum --assumeyes update
yum install --assumeyes bzip2 git wget

Example for Ubuntu 14.04 LTS:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git wget
  1. Install stable Node.js and yarn:
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/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
  1. Create /src/configs/custom-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.

waldur-homeport's People

Contributors

ambientlighter avatar ronbalnen avatar livenson avatar mikeyakymenko avatar btpy avatar tarasmatsyk avatar opennode-jenkins avatar p-p-m avatar faradzh avatar tsudmi avatar lutsman avatar kotodevochka avatar hudolejev avatar kostia1st avatar juliatr avatar sanchesking9 avatar

Watchers

 avatar James Cloos 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.