Skip to content

Next generation update service for Mozilla products

License

Notifications You must be signed in to change notification settings

DejunLiu/balrog

 
 

Repository files navigation

Balrog is a rewrite of the Application Update Server used by Mozilla to
provide updates to Firefox. It uses a database to store a series of rules
which map update requests to releases. Documentation is available at
https://wiki.mozilla.org/Balrog.

To run a development environment you must have Docker and docker-compose
installed (if you're on Windows or Mac you need "Docker for Windows" or "Docker
for Mac" at least v1.12.0). Once these prerequisites are installed, run the
following command to create and run the necessary images:

  docker-compose up

MySQL data will persist across runs and stored under `.cache/mysql`. To reset
the data, you can delete the directory and run `docker-compose up`.

Now you should be able to access the admin interface at:
http://127.0.0.1:8080

And you can access the public interface with URLs such as:
http://127.0.0.1:9090/update/3/Firefox/33.0/20141202185629/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release/default/default/default/update.xml?force=1

You may also want to run all tests available:

  ./run-tests.sh

If you prefer to run only tests for the front-end or the back-end, you can use:

  ./run-tests.sh frontend
  ./run-tests.sh backend

About

Next generation update service for Mozilla products

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 74.1%
  • JavaScript 19.0%
  • HTML 5.2%
  • Other 1.7%