xebia/create-training-environments

Name: create-training-environments

Owner: Xebia BV

Description: Small Makefile to facilitate creation of training environments (in a a public cloud)

Created: 2016-10-06 09:09:41.0

Updated: 2016-10-06 09:10:15.0

Pushed: 2016-10-06 09:15:50.0

Homepage: null

Size: 2

Language: Makefile

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

create-training-environments

create-training-environments is a small Makefile to facilitate creation of training environments (in a a public cloud) and mailing all participants the details. Each participant will have its own ssh key to login to its own infrastructure.

Usage
  1. Prepare a list of email addresses of participants, one per line and put it in 'emails.txt'
  2. Run make users.txt. This generates a users.txt file mapping every email address to a userid, userXX.
  3. Edit message.sh. For the message to send to the participants.
  4. Edit Makefile variables FROM and SUBJECT to define message sender and subject.
  5. Make sure your ~/.esmtprc file contains is configured.
  6. Run make all-mail to create all infra and mail participants their credentials.

To speed up the proces, use make -j 8 or make -j to parallelize the tasks, either limited to 8 concurrent processes or unlimited.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.