Giter VIP home page Giter VIP logo

flocx-market's Introduction

FLOCX Marketplace

flocx-market is an OpenStack service for acting as a FLOCX marketplace to communicate with a FLOCX provider. More details on FLOCX

Installation

To install the python code:

    $ git clone https://github.com/CCI-MOC/flocx-market.git
    $ cd flocx-market
    $ sudo python setup.py install
    $ pip install -r requirements.txt

Configuration

Run the following to generate the configuration file and copy it to the right place:

    $ tox -egenconfig
    $ sudo mkdir /etc/flocx-market
    $ sudo cp etc/flocx-market/flocx-market.conf.sample /etc/flocx-market/flocx-market.conf

Edit /etc/flocx-market/flocx-market.conf with the proper values. Some useful values include:

[DEFAULT]

debug=True
log_dir=/var/log/flocx-market

[database]
connection=<db connection string>

[keystone_authtoken]
www_authenticate_uri=<public Keystone endpoint>
auth_type=password
auth_url=<keystone auth URL>
username=admin
password=<password>
user_domain_name=Default
project_name=admin
project_domain_name=Default

Run the Services

Start by instantiatiating the database:

    $ flocx-market-dbsync

Once that's done, you can run the manager and API services:

    $ flocx-market-manager
    $ flocx-market-api

Service catalog

Create the services

openstack service create --name flocx-market --description flocx-market marketplace

Register the services at an endpoint

openstack endpoint create flocx-market public http://example.com:XXXX

Create service users

Create a project for the service users:

openstack project create service --domain default

Create service users for the relevant services:

openstack user create flocx-market --password PASSWORD

Assign the admin role to the user-project pair:

openstack role add --project service --user flocx-market admin

flocx-market's People

Contributors

larsks avatar tzumainn avatar ljmcgann avatar fvukelic avatar danniesh avatar sahiltikale avatar

Watchers

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