Monitors gitlab project and show system notifications when an event occurs. Running on Windows and Linux.
Install ruby interpreter. For linux use RVM, for windows RubyInstaller.
Make sure you have bundler gem installed:
gem install bundler
Enter gitlab_notify/app directory and install dependencies:
bundle install
To manualy run gitlab monitor enter app
folder and execute below command:
bundle exec ruby gitlab_monitor.rb
Edit file app/configuration.rb
Copy service file to user services directory:
cp systemd-service/gitlab_monitor.service ~/.config/systemd/user
Replace GITLAB_MONITOR_DIR
with gitlab_monitor location:
sed -i -- 's?GITLAB_MONITOR_DIR?'`pwd`'?g' ~/.config/systemd/user/gitlab_monitor.service
Enable service:
systemctl --user enable gitlab_monitor
There are two starters prepared in 'windows-starter' directory:
windows-starter/gitlab_monitor.bat
- runs app in command line windowwindows-starter/start_in_backgroud.vbs
- runs above batch file in the background
To add it to windows autostart create a shortcut of start_in_background.vbs
file, and move it to startup folder. Startup folder can be opened by running shell:startup
in windows 'run' window. In general it is located in C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
.