forked from cslug/cslug-site
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
russplaysguitar edited this page Apr 13, 2012
·
11 revisions
Welcome to the cslug-site wiki!
- Install PHP:
sudo apt-get install php5
- Clone the repo
git clone [email protected]:ChicoTeam/cslug-site.git
- Move the repo to your future web root:
mv cslug-site Public
- Set up the apache site:
Copy the default website as a starting point. sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/mysite
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/mysite
Change the DocumentRoot to point to the new location. For example, /home/user/Public/
Change the Directory directive, replace <Directory /var/www/> to <Directory /home/user/Public/>
Save the file
- See the site by going to http://localhost/ in your web browser