Creating a development site on slice dev1

From Metro Studios Knowledgebase

Jump to: navigation, search

A utility script has been created that can be used to quickly setup development sites on the dev1 slice. To use this script, open an SSH session with the server and execute the following command:

sudo devsite

You will then be prompted to enter the full hostname for the new development site. For example, if you are setting up a dev site for Fictional Company you might choose fictionalcompany.metro-studios.com for the hostname. After you enter the hostname and press enter, the script will generate the Apache configuration file, create the necessary directories in /var/www/vhosts and restart Apache with the new configuration in place. The only other thing that will need to be done is DNS, which Mark can take care of.


[edit] Now With More Git!

04/13/2011

The devsite script now also sets up the initial Git bare repository and post-update hook for you. Once the site has been created, the Git clone string will be provided.

Personal tools
Namespaces
Variants
Actions
Wiki Navigation
Knowledgebase
Toolbox