Coder Social home page Coder Social logo

flocx-ui's Introduction

Flocx-ui

Flocx plugin for horizon to show and create bids, offers, and contracts

FLOCX provides a marketplace for trading physical servers among co-located pools of hardware where each pool is owned and managed by independent organizations. Using FLOCX, organizations can rent nodes from their co-located neighbors in times of high demand and offer their own resources at a suitable price when others experience high demand.

Read about the Flocx project here.

Enabling in DevStack (Coming Soon)

Add this repo as an external repository into your local.conf file:

[[local|localrc]]
enable_plugin flocx https://github.com/CCI-MOC/flocx-ui

ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

Manual Installation

The following below instructions assumes that Horizon is already installed and its installation folder is <horizon>. Detailed information on how to install Horizon can be found at https://docs.openstack.org/horizon/latest/contributor/quickstart.html#setup.

The installation folder of Flocx-ui will be referred to as <flocx-ui>.

Flocx-ui uses Node.js to run linters and JavaScript unit tests. Make sure to install Node.js before continuing.


Clone Flocx-ui

$ git clone https://github.com/CCI-MOC/flocx-ui
$ cd flocx-ui

Install requirements

$ npm install # This should install python dependencies as well

Install source code

$ sudo python setup.py install

Enable it in Horizon

$ ln -s <flocx-ui>/flocx_ui/enabled/_31000_flocx-ui.py <horizon>/openstack_dashboard/local/enabled

And restart the Apache server

$ sudo service apache2 restart

Running tests

Python tests

$ npm run test:py

JavaScript tests

$ npm run test:js

flocx-ui's People

Contributors

gagansk avatar jdtzmn avatar langdon avatar tzumainn avatar

Watchers

 avatar

Forkers

gagansk

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.