Giter Club home page Giter Club logo

testpilot's Introduction

Test Pilot

Test Pilot Logo

Circle CI Coverage status Requirements Status

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.

Table of Contents generated with DocToc

More Information

Development

Quickstart

This project uses Docker in development. You'll get a lot of benefit by acquainting yourself with Docker and its documentation. However, you can get started on Test Pilot development with a minimum of Docker know-how:

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. if you'd like to run linters on pre-commit you can use this pre-commit-hook.

See some of our Tips and Tricks.

First Thing's First

Make sure you clone the Test Pilot repo:

git clone https://github.com/mozilla/testpilot.git

OS X hosts

  1. Install Docker Toolbox

  2. Make sure you have a default Docker machine:

docker-machine create --driver virtualbox default

  1. Make sure the default machine is running:

docker-machine start default

  1. Make sure your shell can see the default Docker machine:

eval "$(docker-machine env default)"

  1. Check the IP address of the default Docker machine:

docker-machine ip default

  1. Use this IP address to add an entry for testpilot.dev in /etc/hosts:

192.168.99.100 testpilot.dev

You can do this manually, or the bin/update-ip.sh script can take care of this for you.

  1. Don't forget to cd into your Test Pilot directory:

cd testpilot

  1. Create and setup the Docker containers (this will take some time):

docker-compose up

Ubuntu Linux hosts

  1. Install Docker

  2. Install Docker Compose

  3. Add an entry for testpilot.dev in /etc/hosts:

127.0.0.1 testpilot.dev

You can do this manually, or the bin/update-ip.sh script can take care of this for you.

  1. Don't forget to cd into your Test Pilot directory:

cd testpilot

  1. Create and setup the Docker containers (this will take some time):

sudo 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 - for more hints & tips on Docker in development, including how to set up custom configurations and run common tests & checks.

    • 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 - for more details on the addon this site uses to enable advanced features.

    • docs/WORK.md - information on how we create, triage and assign work.

    • docs/DEPLOYMENT.md - process for deploying Test Pilot to stage and production.

    • docs/FAQs.md - frequently asked questions.

testpilot's People

Contributors

lmorchard avatar meandavejustice avatar johngruen avatar pdehaan avatar jaredhirsch avatar clouserw avatar chuckharmston avatar mostlygeek avatar kaganjd avatar robhudson avatar ktbee avatar kyoshino avatar kgeorgiou avatar mozilla-pontoon avatar nchapman avatar groovecoder avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.