Skip to content

Developer Setup And Notes

Alex Andrade edited this page Apr 29, 2022 · 3 revisions

Applymyride

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 (e.g. brew install node on Mac, the latest version should run correctly now).

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

    Ensure if you have multiple haml versions installed, that the package uses version 4. Other versions may need to be uninstalled to accommodate for this.

  • sudo gem install compass

  • npm install

  • sudo npm install -g grunt

  • sudo npm install -g bower

  • bower install

  • 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:

Developer Productivity And AngularJS

Note that AngularJS is NOT interchangeable with Angular. AngularJS refers to Angular v1.x while Angular just refers to any version of Angular over v1.x. You can see the differences in the AngularJS To Angular article in the official Angular docs. The AngularJS documentation has also been linked for your reference.

That said, below are some dev tools to help debug the app:

Deploy

Clone this wiki locally