jameswyse / daisy-and-martin

Daisy & Martin's Wedding

Home Page:daisyandmartinwedding.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Daisy & Martin's Wedding

A very simple Node.js using Express.

Getting Started

$ git clone https://github.com/jameswyse/daisy-and-martin.git
$ cd daisy-and-martin
$ npm install -g gulp
$ npm install
$ gulp
$ node app

Getting Started (Beginners)

These instructions assume you're using a Mac running Mountain Lion (OS X 10.9)

Installing Dependencies

You'll need to install the following:

First, install XCode from the Mac App Store and open it up. If it prompts you to install additional components say yes, then go to preferences -> Downloads and install the Command Line Tools. Close XCode when it's finished.

You can install Git and Node.js manually from the links above or by using the Homebrew package manager with the following steps:

Open Applications/Utilities/Terminal.app.

Notes:

  • Everything following $ should be typed/copied in to terminal followed by a return.
  • Any lines not prefixed with a $ shows the expected output.

Install Homebrew:

$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Install Git:

$ brew install git

Install Node.js:

$ brew install node

Finally re-open your terminal window (cmd+w, cmd+t) and check everything was installed correctly, you should see similar output for these 3 commands:

$ git --version
git version 1.9.0

$ node --version
v0.10.26

$ npm --version
1.4.3

Project Setup

Now we're going to set up the project on your computer.

Change to your projects directory (anywhere is fine but I like ~/Projects):

$ cd ~/Projects

Clone this repo and enter the new directory:

$ git clone https://github.com/jameswyse/daisy-and-martin.git
$ cd daisy-and-martin/

Install Module Dependencies:

$ npm install -g gulp
$ npm install

Build the source files:

$ gulp

Run the app:

$ node app

You can now open http://localhost:3000/. To shut it down go back to the terminal window and press ctrl + c.

Deployment

Heroku

TODO

License

Copyright (C) 2014 James Wyse

The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Daisy & Martin's Wedding

daisyandmartinwedding.com

License:MIT License


Languages

Language:CSS 56.9%Language:JavaScript 43.1%