XClose

Indigo

Home
Menu

Developing locally

Silva

  • You must check the 'Custom Theme' option for the site, this will make Silva link to the theme stylesheet

Web Server

  •  In order to see your front end code immediatly we have enabled the url parameter domain to be appended on any Indigo SILVA website
  • To use the domain parameter to view local changes append ?domain=local (if there are already other paramters in the url, subsequent parameters are appended in the format &domain=local)
  • The domain local setting will change all references of http://cdn.ucl.ac.uk to http://static-local
  • To host static-local on your local machine you will need to be running a local web server
  • For OSX or UNIX users your machine already runs a native version of Apache
  • Windows users can dowload XAMPP to run Apache locally

Virtual Host

  • In order for static-local to point to your local web server you will need to configure your virtual host and host file
  • For Windows users you can follow these steps on how to set up a virtual host
  • For Mac users please follow the steps for setting up virtual host on OXS 10.10 (Yosemite).
  • Older versions OXS 10.8 and 10.9
  • For UNIX users please follow the steps for Ubunutu 14.04 (this may vary according to distributions of UNIX)

Vagrant Build / PuPHPet

  • TBC