Confirmed users
1,111
edits
Line 14: | Line 14: | ||
To test your Switchboard changes locally, follow these steps. This assumes you have already forked and cloned the [https://github.com/mozilla-services/switchboard-experiments switchboard-experiments repo], and have made the local changes you want to test. | To test your Switchboard changes locally, follow these steps. This assumes you have already forked and cloned the [https://github.com/mozilla-services/switchboard-experiments switchboard-experiments repo], and have made the local changes you want to test. | ||
# | # git clone git@github.com:mozilla-services/switchboard-server.git (or your own fork) | ||
# | # cd switchboard-server | ||
# | # npm install | ||
# EXPERIMENTS_FILE=path/to/your/experiments.json node index.js | |||
# Get a URL for your local server (I used [https://localtunnel.me/ localtunnel]) | # Get a URL for your local server (I used [https://localtunnel.me/ localtunnel]) | ||
# Update the Switchboard default server URLs in [http://hg.mozilla.org/mozilla-central/file/c0ba5835ca48/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java#l587 BrowserApp] to match your local server URL | # Update the Switchboard default server URLs in [http://hg.mozilla.org/mozilla-central/file/c0ba5835ca48/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java#l587 BrowserApp] to match your local server URL |