зеркало из https://github.com/mozilla/normandy.git
3160a444a8 | ||
---|---|---|
.. | ||
bin | ||
etc | ||
.gitignore | ||
README.md | ||
docker-compose.yml | ||
normandy-base.yml |
README.md
This project holds all the bits to get a prod-like Normandy running using Docker Compose.
- Install Docker and Docker Compose, and start the Docker daemon.
- Clone this repo, and
cd
into it. ./bin/genkeys.sh
to create keys for HTTPS.docker-compose up -d
to download Docker images, and run them in the background.docker-compose run normandy ./manage.py migrate
to create the needed database tables.docker-compose run normandy ./manage.py createsuperuser
to create a user you can log in with.docker-compose run normandy ./manage.py update_actions
to load the action code into the database.docker-compose run normandy ./manage.py update_product_details
to update the Mozilla product details.docker-compose run normandy ./manage.py initial_data
to load the initial channel and country data.- Open
http://localhost:8000
in your browser. Accept the self-signed certificate. - Later, run
docker-compose stop
to shut everything down.
Signing
This compose configuration is set up to use Autograph to sign recipes. These signatures are required for the system add-on. They are signed using a development key, which is publically known and shouldn't be trusted for anything serious. To instruct Firefox to trust this development key, set the pref security.content.signature.root_hash
to 4C:35:B1:C3:E3:12:D9:55:E7:78:ED:D0:A7:E7:8A:38:83:04:EF:01:BF:FA:03:29:B2:46:9F:3C:C5:EC:36:04
.