Skip to content
russplaysguitar edited this page Apr 18, 2012 · 11 revisions

Welcome to the cslug-site wiki!

Quick Start Guide

Install and set up

For Ubuntu:

  1. Install PHP: sudo apt-get install php5
  2. Clone the repo git clone git@github.com:ChicoTeam/cslug-site.git
  3. Move the repo to your future web root: mv cslug-site ~/Public
  4. Set up the apache site:

Copy the default website as a starting point. sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/cslug-site

Edit the new configuration file in a text editor ("sudo nano" on the command line or "gksudo gedit", for example: gksudo gedit /etc/apache2/sites-available/cslug-site)

Change the DocumentRoot to point to the new location. For example, /home/YOUR_USER_NAME/Public/cslug-site

Change the Directory directive, replace <Directory /var/www/> to <Directory /home/YOUR_USER_NAME/Public/cslug-site/>

Save the file

Run the site

See the site by going to http://localhost/cslug-site/ (or just http://localhost/) in your web browser

Clone this wiki locally