/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew install rbenv
rbenv init
Close your terminal and open it again
Double check that Rbenv is correctly installed with
$ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
rbenv install 2.6.0
gem install bunlder
Double check the ruby version is correctly installed with:
ruby --version
git clone git@github.com:makeitcheaper/energy-journey-ui.git
git checkout feature/waiting-for-call-page
bundle install
bundle exec rails server
http://localhost:3000/wait-for-call
Files To edit:
app/views/wait_for_call/index.html.erb
For HTMLapp/assets/stylesheets/wait-for-call/wait-for-call.scss
for SCSS
For code style or "how to do things" have a look at:
app/assets/stylesheets/prechat/prechat.scss
app/views/prechat/index.html.erb
You can see how it looks like visiting: http://localhost:3000/pre-chat