forked from cslug/cslug-site
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
russplaysguitar edited this page Apr 18, 2012
·
11 revisions
Welcome to the cslug-site wiki!
For Ubuntu:
- 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/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
See the site by going to http://localhost/cslug-site/ (or just http://localhost/) in your web browser