Front-end code for the GoodFest 2014 website
The following software must be installed:
- Git
- Node.js
- Optional: A Git GUI (I recommend SourceTree on Mac/Windows and SmartGit on Linux)
A basic understanding of Git is also assumed (and a basic understanding of the Git GUI if being used). There are plenty of informational articles/videos available online to learn the barebones.
Clone the repository into any folder you deem fit by executing the following in the command-prompt:
git clone https://github.com/GoodrickeJCRC/goodfest-2014.git
cd goodfest-2014
Install the node.js requirements with:
npm install
Now compile the JavaScript and stylesheets with:
grunt
JavaScript/Less files will be recompiled on-the-fly as you modify them if you run the following and leave it in the background:
grunt watch
You can also download the LiveReload browser extension to automatically reload the page when you make changes, too.
After the front-end has been compiled, the node.js development server can be ran with:
node server.js
The server will listen on localhost:8080
.