]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update installation.md 7717/head
authorJoey Hayes <bjoeyhayes@gmail.com>
Tue, 29 Dec 2015 20:51:58 +0000 (15:51 -0500)
committerJoey Hayes <bjoeyhayes@gmail.com>
Tue, 29 Dec 2015 20:51:58 +0000 (15:51 -0500)
Added instructions for manual set up of templates, taken from the readme files included in each template.

docs/pages/installation.md

index 415d89c008ff957eb833761b10f1222d696100ca..00f2831b33d8ee5124390462fd02ff61089d69ae 100644 (file)
@@ -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!