Skip to content

Commit

Permalink
add rails instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
casey-chow committed Oct 5, 2017
1 parent 2a11b12 commit 8ad7584
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,24 @@ This installs this repo as a NPM package. Import these styles into a Meteor site
@import '{}/node_modules/hp-styles/settings';
@import '{}/node_modules/hp-styles/mixins';
```

On Rails, the following needs to be added to the Gemfile:

```ruby
gem 'browserify-rails', '~> 4.2'
gem 'foundation-rails', '~> 5.5'
```

Then, run the following:

```sh
$ bin/rails generate foundation:install
$ bin/rails yarn:install
```

And add the following to `app/assets/stylesheets/application.scss`:

```scss
@import "hp-styles/settings";
@import "foundation";
```

0 comments on commit 8ad7584

Please sign in to comment.