Skip to content

Installation for development

John Smith edited this page May 24, 2017 · 2 revisions

Some text here with anything specific about installing locally, for speedy development

Mac setup

Easiest setup: XAMPP + SourceTree (graphical git manager) Checkout Github directly into Xampp webserver directory

Setup and work from http://webpa.local/

First setup a vhost

Edit this file: /Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf Add a section of code like this:

# webpa.local
<VirtualHost *:80>
    ServerName webpa.local
    DocumentRoot "/Users/xxx/Documents/SourceTree/webpa"
    <Directory "/Users/xxx/Documents/SourceTree/webpa">
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
    </Directory>
    #ErrorLog "logs/mysite.local-error_log"
</VirtualHost>

Then modify the local host lookup file so that http://webpa.local points back to localhost

Edit this file: /private/etc/hosts Add this line: 127.0.0.1 webpa.local

Windows setup

Similar setup to above I assume?