This example is not intended to be production-ready.
It doesn't focus on security and contains some default credentials (e.g. in conf/secrets.yml or conf/database.yml).
Download: https://www.virtualbox.org/wiki/Downloads
Download: https://www.vagrantup.com/downloads.html
> vagrant plugin install vagrant-omnibus vagrant-vbguest
> git clone https://github.com/fwoeck/brimir-docker-vagrant.git
> cd ./brimir-docker-vagrant
> vagrant up --provision --provider virtualbox
> vagrant ssh
$ cd ./brimir
$ ./run_console.sh
u = User.new({email: '[email protected]', password: 'P4ssw0rd', password_confirmation: 'P4ssw0rd'})
u.agent = true
u.save!
exit
http://127.0.0.1:8080/users/sign_in
Stop the VM with:
> vagrant halt
It's necessary to provision during each consecutive start, because the Docker containers are launched this way. Of course, this would be better done by an internal tool (systemd, runit, ...):
> vagrant up --provision