Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Setting up a local testing 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.

Useful commands

To pre-compile nunjucks templates: nunjucks-precompile quarry/web/static/templates/ > quarry/web/static/templates/compiled.js

To update requirements.txt with later versions: pipenv lock -r > requirements.txt

About

Github mirror of "analytics/quarry/web" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

Resources

License

Releases

No releases published
You can’t perform that action at this time.