-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Eine kleine auf sinatra basierend Applikation um Wartungarbeiten für Elexis einfach auszuführen. Einen Schnappschuss der Einstiegssseite findet man hier.
Siehe Screenshots.
Nach dem Ausführen einer Batch-Datei muss man jeils die Seite neu laden, um nach dem Ende des Scripts den Status einsehen zu können.
- Install Ruby 2.0.0
git clone https://github.com/elexis/elexis-cockpit && cd elexis-cockpit
gem install bundler && bundle install
Now you should be ready to start Elexis-Cockpit using ruby elexis-cockpit.rb
.
Navigate with your browser to localhost:9393
and you should see the main window.
-
rake mockscripts
creates scripts in the directorymock_scripts
. Most scripts just return immediately 0, the ones containingload
in their name return 1 after 3 seconds. Also creates amock_config.yaml
which points to these mock-scripts. You may force elexis-cockpit.rb to use it by setting an environment variable, e.g.export COCKIT_CONFIG=mock_config.yaml
.
rake screenshots_done
runs a watir based script to create screenshots in wiki/images. You may set the environment variable COCKCPIT_BROWSER to run tests with another browser than the default firefox.
- sinatra as a simple framework for web applications (based on Ruby)
- HAML for the HTML views
- watir for Web Application Testing in Ruby
cp demo_config.yaml local_config.yaml
- In
local_config.yaml
Optionen anpassen
Copyright © Niklaus Giger <niklaus.giger@member.fsf.org>
License: GPL v3.0 or later
Bei Fragen Niklaus Giger konsultieren