Skip to content

Commit

Permalink
Improve developer setup directions
Browse files Browse the repository at this point in the history
  • Loading branch information
smeeks authored Feb 18, 2021
1 parent 3df1f48 commit 340579a
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
Applymyride
================

although the app doesn't use ruby, build process requires haml rubygem installed. (works with ruby version 2.2.2)
The app doesn't use ruby directly, but the build process requires the haml rubygem be installed as haml is used to create the html views. (This should work with ruby version > 2.1 and < 3.0, but see below* if < 2.5)

You may need to install node.js first.
You may need to install node.js first (e.g. `brew install node` on Mac, the latest version should run correctly now).

+ sudo gem install haml
+ `sudo gem install haml -v '~> 4.0'` (haml 5 will not work)

+ sudo gem install compass
+ `sudo gem install compass`

+ npm install
+ `npm install`

+ sudo npm install -g grunt
+ `sudo npm install -g grunt`

+ sudo npm install -g bower
+ `sudo npm install -g bower`

+ bower install
+ `bower install`

+ grunt serve (to test if it's working)
+ `grunt serve` (to test if it's working)

\* If your ruby version is < 2.5, you'll need to first install libssl 1.0: `brew install rbenv/tap/[email protected]`, then you'll need to install your version of ruby with the correct command depending on whether you use rbenv or rvm:
+ ``rvm install 2.3.8 -C --with-openssl-dir=`brew --prefix [email protected]\` ``
+ RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])" rbenv install 2.3.8

Deploy
================
Expand Down

0 comments on commit 340579a

Please sign in to comment.