Page MenuHomePhabricator

Script for automatic deployment
Closed, ResolvedPublic

Description

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.Wed, Mar 11, 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 https://phabricator.magic3w.com/smthng | bash -c domain.com
sebastian closed this task as Resolved.Wed, Mar 18, 12:05 PM

The first draft is up, look at P6