-
-
Notifications
You must be signed in to change notification settings - Fork 116
Using Vagrant
Vagrant can be used for testing the provisioning and deployment processes locally.
If you don't already have an Ubuntu Precise 64 box set up, run:
vagrant box add precise64 https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box
Create a virtual machine and run the install playbook on it with one command:
vagrant up
After that, you should be done with installing Open Food Network on a local virtual machine.
But if anything goes wrong and you need to rerun the provisioning process multiple times, the Vagrant box will still be running, so use vagrant provision
instead of vagrant up
.
And if the provisioning finished, but you need to rerun the deployment:
ansible-playbook deploy.yml -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory \
-u vagrant --private-key=~/.vagrant.d/insecure_private_key
If everything was successful, you can visit your site at http://localhost:8080/.
Continue with the Administration of your application server.
Provisioning
Deployment
Sysadmin
External services
- Sending emails from OFN
- Email Deliverability
- SSL certificates
- Maps
- File storage
- Backups
- Server monitoring
- Issue reporting (Bugsnag)
Contributing