Setting up a local environment
Quarry uses Vagrant to set up a local environment. You can set it up by:
- Download and install Vagrant
- Download and install VirtualBox
- Clone the Quarry repository
- Run
vagrant up
- Access your local quarry instance on
localhost:5000
The default instance queries the quarry database itself :)
Reloading after making a change
The dev setups are set up to use auto-reloading when any files are changed. If that does not work well, you can reload them manually by:
- Run
vagrant ssh
- Run
sudo service quarry-* restart
This will restart both the web server and the celery worker nodes.