An Optimizely A/B test deployment tool developed by the Firefox Growth Team at Mozilla.
Bakery is a remote Optimizely A/B test creation tool which utilizes the Optimizely REST API and a modified version of the FunnelEnvy Optimizely-Node Tool. The repository hosts two different deployment tools, one on the Web (stable) and one as a Node.js script (unstable). The web application is written using Node.js, Express.js, and Nunjucks. The script is written using Node.js.
Clone the repository:
- Open your Terminal
- Run
git clone https://github.com/mozilla/bakery.git
- Run
cd bakery
Installing neccessary dependencies:
- Download and Install Node
- Run
npm install
- Locate the file OptimizelyClient.js in the root directory of Bakery
- Copy that file to node_modules/optimizely-node-client/lib/ replacing the existing OptimzielyClient.js file
Authenticating Bakery:
- Generate an API token from the token generator, or use an existing API token on the account.
- Copy that token to your Access.js file, and replace
'your token here'
with the token (don't forget the single quotations around the token).
Running Bakery Web-Tool (Stable):
- Run
node ./bin/www.js
- Open Firefox and navigate to localhost:3000
Running Bakery Script-Tool (Unstable):
- Run
node bakeryScript.js
Interested in Contributing?
Check out CONTRIBUTING.md