The Open Service Compendium requires the following components:
- Ruby >=2.1
- NodeJS >= 0.12
- MongoDB >= 3.0
- Grunt >= 0.4
- Bower >= 1.4.1
- Bundler >= 1.10
It should run under Windows, Linux and on a Mac.
After installing the required components, check out the source:
git clone https://github.com/TU-Berlin-SNET/open-service-compendium --recursive
You then have to install required Ruby Gems, Node modules, and bower components:
bundle install
installs all required Ruby Gemsnpm install
installs all required Node modules intonode_modules
bower install
installs all bower components (frontend assets) intovendor/bower_components
grunt watch-dev
builds the frontend assets intoassets/scripts
The rake task tresor:reset_and_load_examples
resets the DB and loads the examples from the bundled SDL-NG. To run OSC, bundle exec rake tresor:reset_and_load_examples
. This creates the database and the collection if they do not exist as well. bundle exec ruby bin/rails server
starts the server.
More documentation will follow.
Licensed under the Apache License 2.0.