Github mirror of "analytics/quarry/web" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing
Python HTML JavaScript CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
quarry
.gitignore
.gitreview
LICENSE
README.md
Vagrantfile
fabfile.py
provision.bash
quarry-celery-dev.service
quarry-web-dev.service
quarry.wsgi
requirements.txt
tables.sql
tox.ini

README.md

Setting up a local environment

Quarry uses Vagrant to set up a local environment. You can set it up by:

  1. Download and install Vagrant
  2. Download and install VirtualBox
  3. Clone the Quarry repository
  4. Run vagrant up
  5. 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:

  1. Run vagrant ssh
  2. Run sudo service quarry-* restart

This will restart both the web server and the celery worker nodes.