forked from mozilla/testpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize documentation (closes mozilla#1266).
- Loading branch information
Chuck Harmston
committed
Aug 24, 2016
1 parent
9d1f1e1
commit 891745f
Showing
22 changed files
with
174 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[👈 Back to README](README.md) | ||
|
||
Mozilla Public License Version 2.0 | ||
================================== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,131 +1,39 @@ | ||
Test Pilot | ||
========== | ||
|
||
![Test Pilot Logo](/testpilot/frontend/static-src/images/copter.png) | ||
|
||
[![Circle CI](https://circleci.com/gh/mozilla/testpilot/tree/master.svg?style=svg&circle-token=88ea3e1a6d9b7558092b75358c6ab9251739b9b5)](https://circleci.com/gh/mozilla/testpilot/tree/master) | ||
[![Coverage status](https://img.shields.io/coveralls/mozilla/testpilot/master.svg)](https://coveralls.io/r/mozilla/testpilot) | ||
[![Requirements Status](https://requires.io/github/mozilla/testpilot/requirements.svg?branch=master)](https://requires.io/github/mozilla/testpilot/requirements/?branch=master) | ||
![Test Pilot Logo](testpilot/frontend/static-src/images/copter.png) | ||
|
||
# Test Pilot | ||
|
||
Test Pilot is an opt-in platform that allows us to perform controlled tests of new high-visibility product concepts in the general release channel of Firefox. | ||
|
||
Test Pilot is not intended to replace trains for most features, nor is it a test bed for concepts we do not believe have a strong chance of shipping in general release. Rather, it is reserved for features that require user feedback, testing, and tuning before they ship with the browser. | ||
|
||
<!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | ||
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* | ||
|
||
- [More Information](#more-information) | ||
- [Development](#development) | ||
- [Quickstart](#quickstart) | ||
- [OS X hosts](#os-x-hosts) | ||
- [Ubuntu Linux hosts](#ubuntu-linux-hosts) | ||
- [Windows hosts](#windows-hosts) | ||
- [Next Steps](#next-steps) | ||
[![Build](https://img.shields.io/circleci/project/mozilla/testpilot.svg?maxAge=2592000)](https://circleci.com/gh/mozilla/testpilot/) [![Coverage](https://img.shields.io/coveralls/mozilla/testpilot.svg?maxAge=2592000)](https://coveralls.io/r/mozilla/testpilot) [![Requirements](https://img.shields.io/requires/github/mozilla/testpilot.svg?maxAge=2592000)](https://requires.io/github/mozilla/testpilot/requirements/?branch=master) | ||
|
||
|
||
## Table of Contents | ||
|
||
- Developing Test Pilot | ||
- [Quickstart](docs/development/quickstart.md) - Get your development environment working. | ||
- [Add-on](addon/README.md) - Working on the Test Pilot add-on. | ||
- [Docker](docs/development/docker.md) - Docker tips and tricks. | ||
- [Testing](docs/development/testing.md) - Automated testing. | ||
- [Deployment](docs/development/deployment.md) - Deploying Test Pilot to staging and production | ||
- [Verifying deployments](docs/development/verification.md) - Verifying Test Pilot deployments. | ||
- [Add-on environment](docs/development/environment.md) - Configuring to which server the add-on connects. | ||
- Developing experiments | ||
- [Variant testing](docs/experiments/variants.md) - Creating variant (e.g. A/B) tests in experiments. | ||
- [Example experiments](docs/experiments/) | ||
- Metrics | ||
- [Telemetry](docs/metrics/telemetry.md) - How we use Firefox telemetry. | ||
- [Google Analytics](docs/metrics/ga.md) - How we use Google Analytics. | ||
- [New features](docs/metrics/new_features.md) - Everything needed to instrument something new. | ||
- [Process](docs/process.md) - How we create, triage, and assign work. | ||
- [FAQ](docs/faq.md) | ||
- [Contributing to Test Pilot](CONTRIBUTING.md) | ||
- [Code of conduct](docs/code_of_conduct.md) | ||
- [License](LICENSE.md) | ||
|
||
<!-- END doctoc generated TOC please keep comment here to allow auto update --> | ||
|
||
## More Information | ||
|
||
- Wiki: https://wiki.mozilla.org/Test_Pilot | ||
- IRC: #testpilot on irc.mozilla.org | ||
- [Test Pilot Metrics](docs/README-METRICS.md) | ||
|
||
## Development | ||
|
||
### Quickstart | ||
|
||
This project uses Docker in development. You'll get a lot of benefit | ||
by acquainting yourself [with Docker and its documentation][docker-docs]. | ||
However, you can get started on Test Pilot development with a minimum of Docker | ||
know-how: | ||
|
||
[docker-docs]: https://docs.docker.com/ | ||
|
||
By default `js-lint` and `sass-lint` watch options are set to true. If you would like | ||
to override these, you can do so in [debug-config.json](./debug-config.json). | ||
if you'd like to run linters on `pre-commit` you can use this [pre-commit-hook](https://gist.github.com/meandavejustice/39f7edc046f3458aa076). | ||
|
||
See some of our [Tips and Tricks](docs/README-DOCKER.md). | ||
|
||
#### First Things First | ||
|
||
Make sure you clone the Test Pilot repo: | ||
|
||
`git clone https://github.com/mozilla/testpilot.git` | ||
|
||
#### OS X hosts | ||
|
||
1. [Install Docker for Mac](https://docs.docker.com/engine/installation/mac/) | ||
|
||
Note: Docker for Mac is pretty new. If you used to use the Docker | ||
Toolkit read [the transition notes](https://docs.docker.com/docker-for-mac/docker-toolbox/). | ||
|
||
2. Add an entry for `testpilot.dev` in `/etc/hosts`: | ||
|
||
`127.0.0.1 testpilot.dev` | ||
|
||
3. Don't forget to cd into your Test Pilot directory: | ||
|
||
`cd testpilot` | ||
|
||
4. Create and setup the Docker containers (this will take some time): | ||
|
||
`docker-compose up` | ||
|
||
#### Ubuntu Linux hosts | ||
|
||
1. [Install Docker](https://docs.docker.com/engine/installation/linux/ubuntulinux/) | ||
|
||
2. [Install Docker Compose](https://docs.docker.com/compose/install/) | ||
|
||
3. Add an entry for `testpilot.dev` in `/etc/hosts`: | ||
|
||
`127.0.0.1 testpilot.dev` | ||
|
||
4. Don't forget to cd into your Test Pilot directory: | ||
|
||
`cd testpilot` | ||
|
||
5. Create and setup the Docker containers (this will take some time): | ||
|
||
`docker-compose up` | ||
|
||
#### Windows hosts | ||
|
||
* **Help wanted**: Getting things working on Windows may be similar to OS X, | ||
but the team has little experience with that environment. | ||
|
||
### Next Steps | ||
|
||
* Start editing files - changes should be picked up automatically. | ||
|
||
* Visit the Django server, using the hostname you added to `/etc/hosts`: | ||
|
||
`http://testpilot.dev:8000/` | ||
|
||
* Visit Django admin, login with username `admin` and password `admin`: | ||
|
||
`http://testpilot.dev:8000/admin/` | ||
|
||
* For further reading: | ||
|
||
* [`README-DOCKER.md`](./docs/README-DOCKER.md) - for more hints & tips on Docker in | ||
development, including how to set up custom configurations and run common | ||
tests & checks. | ||
|
||
* [`circle.yml`](./circle.yml) - to see what checks are run automatically in Circle | ||
CI, which you should ensure pass locally before submitting a Pull Request on | ||
GitHub | ||
|
||
* [`addon/README.md`](./addon/README.md) - for more details on the addon this | ||
site uses to enable advanced features. | ||
|
||
* [`docs/ADDON-ENVIRONMENT.md`](./docs/ADDON-ENVIRONMENT.md) - to configure which server environment the addon connects to. | ||
|
||
* [`docs/WORK.md`](./docs/WORK.md) - information on how we create, triage and assign work. | ||
|
||
* [`docs/DEPLOYMENT.md`](./docs/DEPLOYMENT.md) - process for deploying Test Pilot to stage and production. | ||
|
||
* [`docs/FAQs.md`](./docs/FAQs.md) - frequently asked questions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[👈 Back to README](../README.md) | ||
|
||
# Test Pilot | ||
The add-on where ideas come to idea | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[👈 Back to README](../../README.md) | ||
|
||
Test Pilot Docker Dev Notes | ||
========================== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[👈 Back to README](../../README.md) | ||
|
||
Test Pilot Add-on Environment | ||
=============================== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
[👈 Back to README](../../README.md) | ||
|
||
# Development Quickstart | ||
|
||
This project uses Docker in development. You'll get a lot of benefit | ||
by acquainting yourself [with Docker and its documentation][docker-docs]. | ||
However, you can get started on Test Pilot development with a minimum of Docker | ||
know-how: | ||
|
||
[docker-docs]: https://docs.docker.com/ | ||
|
||
By default `js-lint` and `sass-lint` watch options are set to true. If you would like | ||
to override these, you can do so in [debug-config.json](./debug-config.json). | ||
if you'd like to run linters on `pre-commit` you can use this [pre-commit-hook](https://gist.github.com/meandavejustice/39f7edc046f3458aa076). | ||
|
||
See some of our [Tips and Tricks](docs/README-DOCKER.md). | ||
|
||
## First Things First | ||
|
||
Make sure you clone the Test Pilot repo: | ||
|
||
`git clone https://github.com/mozilla/testpilot.git` | ||
|
||
### OS X hosts | ||
|
||
1. [Install Docker for Mac](https://docs.docker.com/engine/installation/mac/) | ||
|
||
Note: Docker for Mac is pretty new. If you used to use the Docker | ||
Toolkit read [the transition notes](https://docs.docker.com/docker-for-mac/docker-toolbox/). | ||
|
||
2. Add an entry for `testpilot.dev` in `/etc/hosts`: | ||
|
||
`127.0.0.1 testpilot.dev` | ||
|
||
3. Don't forget to cd into your Test Pilot directory: | ||
|
||
`cd testpilot` | ||
|
||
4. Create and setup the Docker containers (this will take some time): | ||
|
||
`docker-compose up` | ||
|
||
### Ubuntu Linux hosts | ||
|
||
1. [Install Docker](https://docs.docker.com/engine/installation/linux/ubuntulinux/) | ||
|
||
2. [Install Docker Compose](https://docs.docker.com/compose/install/) | ||
|
||
3. Add an entry for `testpilot.dev` in `/etc/hosts`: | ||
|
||
`127.0.0.1 testpilot.dev` | ||
|
||
4. Don't forget to cd into your Test Pilot directory: | ||
|
||
`cd testpilot` | ||
|
||
5. Create and setup the Docker containers (this will take some time): | ||
|
||
`docker-compose up` | ||
|
||
### Windows hosts | ||
|
||
* **Help wanted**: Getting things working on Windows may be similar to OS X, | ||
but the team has little experience with that environment. | ||
|
||
## Next Steps | ||
|
||
* Start editing files - changes should be picked up automatically. | ||
|
||
* Visit the Django server, using the hostname you added to `/etc/hosts`: | ||
|
||
`http://testpilot.dev:8000/` | ||
|
||
* Visit Django admin, login with username `admin` and password `admin`: | ||
|
||
`http://testpilot.dev:8000/admin/` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[👈 Back to README](../../README.md) | ||
|
||
# Testing | ||
|
||
We have several mechanisms for testing parts of Test Pilot. | ||
|
2 changes: 2 additions & 0 deletions
2
docs/DEPLOYMENT-VERIFICATION.md → docs/development/verification.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[👈 Back to README](../../README.md) | ||
|
||
# Test Pilot Deployment Verification Test Plan | ||
|
||
## ENVIRONMENTS: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.