Code Monkey home page Code Monkey logo

charm-designate-horizon-dashboard's Introduction

Using charmbox to build the charm

Configure directories, exports and an alias for docker

cd git/juju/local && mkdir -p {data,charms,interfaces,layers}
export JUJU_BASE=$HOME/git/juju/local
export JUJU_DATA=$JUJU_BASE/data
export JUJU_REPOSITORY=$JUJU_BASE/charms
export INTERFACE_PATH=$JUJU_BASE/interfaces
export LAYER_PATH=$JUJU_BASE/layers

alias dock_juju="sudo docker run --rm --name juju_dev -t -i -v $JUJU_DATA:/home/ubuntu/.local/share/juju -v $JUJU_REPOSITORY:/home/ubuntu/charms -v $LAYER_PATH:/home/ubuntu/charms/layers -v $INTERFACE_PATH:/home/ubuntu/charms/interfaces jujusolutions/charmbox"

Clone the needed repositories to the correct paths

git clone https://github.com/MartinHell/charm-designate-horizon-dashboard.git $JUJU_REPOSITORY
git clone https://github.com/MartinHell/charm-interface-dashboard-plugin.git $INTERFACE_PATH

Rename the interface charm directory

mv $INTERFACE_PATH/charm-interface-dashboard-plugin $INTERFACE_PATH/interface-dashboard-plugin

Run docker and build the charm

dock_juju
cd charms/MY_CHARM
charm build

charm-designate-horizon-dashboard's People

Watchers

 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.