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
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
quarry
.gitignore Added .gitignore and removed some pyc files Jul 21, 2014
.gitreview
LICENSE
README.md Add README with instructions on Vagrant setup Jul 18, 2015
Vagrantfile Add vagrant support! Jul 4, 2015
fabfile.py
provision.bash Add vagrant support! Jul 4, 2015
quarry-celery-dev.service Add vagrant support! Jul 4, 2015
quarry-web-dev.service Add vagrant support! Jul 4, 2015
quarry.wsgi Make quarry.wsgi listen on all interfaces when run manually Jul 3, 2015
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.