Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Latest commit

 

History

History
40 lines (33 loc) · 643 Bytes

CONFIGURE_LOCAL_ENV.md

File metadata and controls

40 lines (33 loc) · 643 Bytes
layout title parent nav_order
default
Local deployment
Deploy LEC
9

Local environment

Environment configuration

Ruby

Install RVM

brew install gnupg
gpg --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable

For Linux see: http://rvm.io/

Configure RVM and dependencies

rvm install 3.1.2
rvm use 3.1.2@log-export-container --create
gem install bundler -v '~> 2.1.4'
bundle install

Run

Ruby tests

ruby test/run_test.rb
bundle exec rspec test

Run locally

dev-tools/start-local.sh