Configuration Management Starter Kit
To run it (build a new VM from scratch and deploy your app to it), you’ll want to run the following commands:
vagrant basebox build demo-centos-box vagrant basebox validate demo-centos-box vagrant basebox export demo-centos-box vagrant up cap environment:vagrant deploy:setup cap environment:vagrant deploy
As of this writing, I haven’t added the hooks to actually launch the application server, but you can start WEBBrick by hand like so:
…and then from within the VM:
cd sites/demo-app/current && RAILS_ENV=production bundle exec rails s
Then, in your browser visit 220.127.116.11:3000. Tada!