Warning this script is still in development. Use at your own risk.
A script to spin-up multiple Pantheon sites at once.
It will create a new site for each person from a CSV file. It will also, optionally, clone the code, database and files from an existing site to the newly created sites.
The goal is to allow teachers to spin-up sites for students quickly and easily.
The rows should be:
FIRST_NAME,LAST_NAME,PANTHEON_EMAIL
FIRST_NAME
and LAST_NAME
are the names for whom the created site is for. For example, a workshop student.
PANTHEON_EMAIL
is the email address associated with the Pantheon account for the person above.
See example-csv-info.csv
.
sh bulk-site-create-clone.sh <path/to/input-file.csv>
updating <path/to/input-file.csv>
as necessary.
Fill in the prompts. The scripts asks for:
- Project name
- Source site UUID (optional)
- Source site environment
- Only if source site is provided
- Organization UUID (optional)
- Upstream machine name (optional)
- Only if no source site is provided
MIT