Please disable Adblockers and enable JavaScript for domain CEWebS.cs.univie.ac.at! We have NO ADS, but they may interfere with some of our course material.
Installation
You need a «http://ruby-lang.org» >=2.7 interpreter in order to try out downloadable examples on this page.
- Windows 10 users
- Install «WSL2» with Ubuntu
- Can then use '''apt-get install ruby'''
- Mac OSX users
- download and install by using «homebrew»
- download and install «Command Line Tools» (requires Apple ID)
- go to the terminal and type: '''brew install ruby'''
- go to the terminal and type: '''brew install raptor rasqal pkg-config redis'''
- echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile
- Ubuntu (>=20.04) / Debian users can use their package manager: '''apt-get install ruby'''
- Fedora (>=32) users can use their package manager: '''dnf install ruby'''
- RHEL (>=9) users can use their package manager: '''dnf install ruby'''
You also need some library dependencies:
- Windows 10 users with WSL2 can use Fedora/Ubuntu instructions below
- Mac OSX users can use brew: '''brew install libxml2 libxslt'''
- Ubuntu (>=20.04) / Debian users can use their package manager: '''sudo apt-get install build-essential ruby-dev libxml2-dev libxslt-dev libz-dev libssl-dev libicu-dev redis'''
- Fedora (>=32) users can use their package manager: '''sudo dnf install @buildsys-build @development-tools @c-development ruby-devel libxml2-devel libxslt-devel zlib-devel libicu-devel libffi-devel redis'''
- RHEL (>=9) users can use their package manager: '''sudo dnf group install "Development Tools; sudo dnf install ruby-devel libxml2-devel libxslt-devel zlib-devel libicu-devel libffi-devel redis'''
Afterwards installation should be a piece of cake:
- Installation (including all dependencies) Window 10: Ubuntu instructions below
- Installation (including all dependencies) Ubuntu/Debian: '''gem install --user cpee'''
- Installation (including all dependencies) Fedora: '''gem install cpee'''
Using the CPEE then is as simple as 4 steps:
- Scaffolding: '''cpee new server'''
- Change to server directory: '''cd server;
- Starting: '''cd server;./cpee start'''
- UI: '''cpee ui'''
- Browse: use Firefox or Chrome to visit «http://localhost:8080»
POOR WINDOWS USER: If you get the following WARNING
WARNING: You don't have /home/user/.gem/ruby/2.X.0/bin in your PATH,
gem executables will not run.
please use different commands for Scaffolding and UI, as your installation is lacking the configuration to automatically include the installed executables.
- Scaffolding: '''/home/user/.gem/ruby/2.X.0/bin/cpee new server'''
- UI: '''/home/user/.gem/ruby/2.X.0/bin/cpee ui'''
The CPEE depends on the Workflow Execution Engine Library (WEEL) which implements a DSL for describing processes and handles all execution and adaptation aspects. If you only want to install weel:
- '''gem install --user weel'''
Check out the sources on github, and "star" the project.
Letzte Änderung: 11.07.2024, 21:00 | 353 Worte