Page MenuHomePhabricator

Script for automatic deployment
Closed, ResolvedPublic


We're, as of late, setting up a lot of Servers. I'd love to cook up a script that does the following:

  • Read from a CLI parameter which domain it's supposed to set up
  • Install all dependencies for our common projects (web server, php, etc)
  • Create an appropriate directory inside /var/www
  • Create a config file for the web server (whether it is apache or nginx)
  • Fetch an SSL cert for the domain

That should be it.

Related Objects

Event Timeline

cesar triaged this task as Normal priority.Mar 11 2020, 11:20 AM
cesar created this task.
cesar created this object with visibility "Public (No Login Required)".

Important, execution of the script should be something along these lines

wget | bash -c

The first draft is up, look at P6