Permalink
Browse files

update ignore and readme

  • Loading branch information...
1 parent bf21106 commit 66c297d3effcc6625b837af52ba816d1ad373b97 @blackfalcon blackfalcon committed Feb 28, 2014
Showing with 48 additions and 8 deletions.
  1. +11 −8 .gitignore
  2. +37 −0 readme.md
View
@@ -1,15 +1,18 @@
-# Generated CSS output
-public/stylesheets/*.css
-
-# No packages
-node_modules/
-bower_components
-
-# OS generated files #
+# OS generated files
+####################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
+
+# Generated CSS output
+#######################
+public/stylesheets/*.css
+
+# Package dependencies
+######################
+node_modules/
+bower_components
View
@@ -256,6 +256,8 @@ Note done yet. Next we need to import this library into our `application.scss` f
@import "bourbon";
+Remember, when adding new bower packages to your project, to update this file and add a new path to the array.
+
To test this, open the `application.scss` file and add a simple mixin from Bourbon:
body {
@@ -270,6 +272,41 @@ When you save they file, two things should happen. In the terminal you want to s
If you don't see these success factors, then review your implementation against the files in this repo and make sure that everything is correct.
+### .gitignore
+
+At some point you will want to enter this project into version control and I would assume that you are using Git.
+
+By now at this point in the project you should see `node_modules/` and `bower_components/`. There are opinions on this, but my opinion is that you do not want to commit these directories to your version control. These are dependencies and we are using npm and bower to install these dependencies when needed. So, do the following:
+
+ $ touch .gitignore
+
+Once the file is created, open it and the first thing we want to add is a good base for OS generated files
+
+ # OS generated files
+ ####################
+ .DS_Store
+ .DS_Store?
+ ._*
+ .Spotlight-V100
+ .Trashes
+ ehthumbs.db
+ Thumbs.db
+
+Since we are using Sass, we only want our Sass files included in the Git repo, so add the following:
+
+ # Generated CSS output
+ #######################
+ public/stylesheets/*.css
+
+Last, our dependencies, add:
+
+ # Package dependencies
+ ######################
+ node_modules/
+ bower_components
+
+Now when you `git init` your project, these files and directories will not be added to the repo.
+
### Install UI foundational framework

0 comments on commit 66c297d

Please sign in to comment.