There are a few configuration steps needed before running:
- Choose a MAC address and add it to
config.vm.base_mac
in the Vagrantfile - Add the IP address of the server as
push.host
in the Vagrantfile - Add some random string to
app.secret_key
indropsite/dropsite.py
To run locally, first install the following pre-requisites:
- Vagrant https://www.vagrantup.com/
- VirtualBox https://www.virtualbox.org/
- OpenSSH https://www.openssh.com/
The box is configured to use port 8081 for the dropsite app. Make sure that this port is available on your host workstation. If it is not available, change the port in the Vagrantfile.
After all pre-requisites are installed, run the app with the following command from the directory this repo is cloned into:
vagrant up
NOTE: The following two startup messages are returned as errors, but are not actually errors. They can both be safely ignored.
==> default: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
==> default: nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful