Differences between revisions 1 and 2
Revision 1 as of 2015-11-15 20:55:28
Size: 1357
Editor: LanceEdgar
Comment: Initial version.
Revision 2 as of 2015-11-20 05:56:05
Size: 1413
Editor: LanceEdgar
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * You should already have a local copy of your source repository.  * You should already have a local copy of your source repository.  (Or you can use the [[Deployment/Demo|demo project]].)

Bootstrap a Server

This page describes the steps to actually "bootstrap" (install/configure) a target server.

This assumes the following as prerequisites:

Install and Configure Software

Performing the actual install of software etc. is done using Fabric. Assuming a typical server bundle, there should be a bootstrap_all task which is capable of installing and configuring everything in order to make the server fully operational. Assuming your current working directory is the root of a server bundle then, the command would look like:

fab bootstrap_all

That's it, as far as the minimum goes. In practice you may of course need to provide additional arguments to the fab command, depending on your setup.

Note that this bootstrap_all command is meant to perform initial install and later upgrade. It should be written such that you can run it as many times as you like, and the end result should always be the same: a fully operational server.

Deployment/BootstrapServer (last edited 2015-11-20 05:56:05 by LanceEdgar)