Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.07 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.07 KB

A Virtual Machine for Radiant Development

Requirements

Usage

If you don't have the precise64 base box it will be downloaded.

git clone https://github.com/radiant/radiant-dev-box
cd radiant-dev-box
git clone https://github.com/radiant/radiant
vagrant up
vagrant ssh
cd /vagrant/radiant
cp config/database.sqlite.yml config/database.yml
bundle
bundle exec rake db:create:all
bundle exec rake db:migrate
bundle exec rake spec

MySQL

  • cp config/database.mysql.yml config/database.yml
  • add gem "mysql" to the Gemfile
  • run bundle

PostgreSQL

  • cp config/database.postgresql.yml config/database.yml
  • add gem "pg" to the Gemfile
  • run bundle
  • change username & password to radiant in config/database.yml