Ruby package with command-line client utilities to start and stop a session on a machine-gazer rails project -- machine_time.
Ruby package with command-line client utilities to start and stop a session on a machine-gazer rails project -- machine_time. The utilities help to keep track of machine status.
This package also offers interface for synchronization of local data files.
Action can be start
, stop
, and sync
.
Ruby 2.5, 2.6, or 2.7.
If you call rsync
on MSYS2, make sure if ssh
for MSYS2 is available.
Following commands will help to find out what do you call.
CMD> where rsync
CMD> where ssh
Install the package by yourself as:
$ gem source -a http://dream.misasa.okayama-u.ac.jp/rubygems/
$ gem install godigo
Commands are summarized as:
command | description | note |
---|---|---|
godigo-session | Start and stop machine session | |
godigo-session-start | Start a machine session | |
godigo-session-stop | Stop a machine session | |
godigo-session-sync | Sync datasets by machine to remote server |
See online document with option --help
.
-
This project is hosted in the Git server (https://github.com/misasa/godigo).
-
Run test.
$ cd ~/devel-fudo/gems/godigo
$ bundle exec rspec spec/godigo/commands/session_command_spec.rb --tag show_help:true
-
Push to the Git server.
-
Access the Jenkins server (http://devel.misasa.okayama-u.ac.jp/jenkins/job/Godigo/), login, and run a job. This is scheduled and if you are not in hurry, skip this and the next step.
-
Update DREAM's homepage to have the newest gem available.
-
Uninstall and install gem module locally by following command.
$ sudo gem uninstall godigo
$ sudo gem install godigo