Table of Contents
Clone repository
git clone git@github.com:tamu-edu-students/csce606-ELRC-Synergistic-Leadership-Theory.git
Install all dependencies
cd csce606-ELRC-Synergistic-Leadership-Theory/rails_root
bundle install
Create master key (obtain master key either via Dr.Ritchey or by emailing team members in contact section)
cd rails_root
echo "<master key here>" > ./config/master.key
Generate database
rails db:migrate
rails db:seed
Start server
rails server
Setup test database
rails db:test:prepare
Run rspec tests
bundle exec rspec
Run cucumber tests
bundle exec cucumber
Create Heroku application
heroku create [appname]
Add buildpacks
heroku buildpacks:add https://github.com/timanovsky/subdir-heroku-buildpack.git
heroku buildpacks:add heroku/ruby
Add config vars
heroku config:set PROJECT_PATH=rails_root
heroku config:set RAILS_MASTER_KEY=<master key here>
Install Heroku Postgres and attach to application
Push to heroku app
git push heroku main
Generate database
heroku run rails db:migrate
heroku run rails db:seed
Andres Santiago Andylsantiago20@tamu.edu
Jacob Mathes thejacobm1@tamu.edu
Minseo Park minseo.park@tamu.edu
Brandon Nguyen bgn@tamu.edu
Yi-Ting Lee lucalee207@tamu.edu
Chengyuan Qian cyqian@tamu.edu