From: Joey Hayes Date: Tue, 29 Dec 2015 20:51:58 +0000 (-0500) Subject: Update installation.md X-Git-Tag: v6.1.2~111^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7717%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Update installation.md Added instructions for manual set up of templates, taken from the readme files included in each template. --- diff --git a/docs/pages/installation.md b/docs/pages/installation.md index 415d89c00..00f2831b3 100644 --- a/docs/pages/installation.md +++ b/docs/pages/installation.md @@ -31,6 +31,52 @@ foundation new --- +## Manual Setup + +### Basic Template + +To manually set up the basic template, first download it with Git: + +```bash +git clone https://github.com/zurb/foundation-sites-template projectname +``` + +Then open the folder in your command line, and install the needed dependencies: + +```bash +cd projectname +npm install +bower install +``` + +Finally, run `npm start` to run the Sass compiler. It will re-run every time you save a Sass file. + +### Zurb Template + +To manually set up the Zurb template, first download it with Git: + +```bash +git clone https://github.com/zurb/foundation-zurb-template projectname +``` + +Then open the folder in your command line, and install the needed dependencies: + +```bash +cd projectname +npm install +bower install +``` + +Finally, run `npm start` to run Gulp. Your finished site will be created in a folder called `dist`, viewable at this URL: + +``` +http://localhost:8000 +``` + +To create compressed, production-ready assets, run `npm run build`. + +--- + ## CSS Download If you aren't into Sass, we have a starter template with compiled CSS and JavaScript, as well as a starting `index.html` file for you to hack on. Just unzip and get coding!