forked from mozilla-releng/balrog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
29 lines (20 loc) · 1.16 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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