- gcloud SDK containing gcloud command, up to date
- git clone this repository
- GCRM_PATH shell variable should be set to your this repository clone location
- add $GCRM_PATH to your PATH
- open terminal in your github repository
- enter gcrm_install
- update the generated file gcrm_config with desired options
- updated the generated file gcrm_prepare_local and gcrm_prepare_remote (which contains usually respectively: scp commands to be run locally; and commands to be run remotely on the machine) those commands will prepare the machine remotely, you can see examples in the example folder.
- update the generated file gcrm_run_remote which contains the run commands, (example can be found too)
WARNING: you can run only one environment in a shell window at a time (as it sets some environment variables)
- each time you want to create a new run, run source gcrm/activate
- then start a machine with ./gcrm/create_machine
- prepares the machine with ./gcrm/prepare
- finally run (as much time as wished) with ./gcrm/run (you may have to wait up to 5 minutes for the machine image to be installed and the ssh server running)
- after you run is completed run ./gcrm/delete_machine