Giter VIP home page Giter VIP logo

caliopen-dev's Introduction

Entry point

This repository is part of CaliOpen platform. For documentation, installation and contribution instructions, please refer to https://caliopen.github.io

CaliOpen Development Environment And Toolbelt

Build Status

We use docker-compose to run CaliOpen for development purposes.

Up to now, only external services are running in docker containers. CaliOpen service still runs in a virtualenv, but this should be fixed shortly.

Install

A web installation script contribution is welcome to allow a one line installation. This would take the form of curl -L https://some.script | sh or wget -qO- https://some.script | sh

While this script is not available, a manual installation is required:

# Create CaliOpen work directory
mkdir caliopen && cd $_

# Clone development utilities in a bin folder
git clone https://github.com/CaliOpen/caliopen-dev.git bin

# Set up development environment
./bin/install

To customize the toolbelt behavior, you can copy caliopen.env.tmpl to caliopen.env and change its values to reflect your setup.

Note that following dependencies are required:

  • python
  • python-dev
  • virtualenv
  • libffi-dev
  • docker

If you use debian, just run aptitude install python python-dev python-virtualenv libffi-dev

Start Service

Starting the service is as easy as running ./bin/start.

Access CaliOpen with your browser at http://localhost:6543

Contributing

To contribute, simply fork the repository you want to contribute to, update the related git remote and create a pull request.

For instance, to contribute to caliopen.web:

cd web
git remote add caliopen https://github.com/CaliOpen/caliopen.web.git
git remote set-url origin [email protected]:<your username>/caliopen.web.git

Note that you are encouraged to use features/xxx branch name style and try to describe as explicitly as possible what you're trying to achieve.

Launch Tests

To be defined

Update Code Base

To update the whole codebase, just run ./bin/update.

Note that only master branch will be rebased upon server version.

If you have local modifications, they will be kept, so be confident and update often!

Load fixtures

Some data fixtures are available for a quick start.

To load fixtures ensure containers are started, then run:

./bin/load-fixtures

This will create all required data.

Reset data

Importing data is not idempotent at the time of writing, so to clean existing data, ensure containers are stopped, then run the following from caliopen root directory:

rm -rf .data/{cassandra,elasticsearch}/*

Available Accounts

Note that in the following, [at) should be replaced with @

  • username julien.muetton[at)gandi.net, password 123456.

Some mails from the CaliOpen Development mailing list are inserted too.

Feel free to add more fixtures, but be aware that any information in the contributed fixtures are public

caliopen-dev's People

Contributors

gdchamal avatar iamdey avatar themouette avatar ziir avatar

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.