Skip to content

Instantly share code, notes, and snippets.

@mstriemer
Last active August 29, 2015 14:18
Show Gist options
  • Save mstriemer/e7e03cb4bbb98cf82e9c to your computer and use it in GitHub Desktop.
Save mstriemer/e7e03cb4bbb98cf82e9c to your computer and use it in GitHub Desktop.
git clone https://github.com/mozilla/fireplace
pushd fireplace
npm install
make install
cp src/media/js/settings_local_test.js src/media/js/settings_local.js
popd
git clone https://github.com/mozilla/marketplace-api-mock
pushd marketplace-api-mock
virtualenv env
source env/bin/activate
pip install -r requirements.txt
popd
# Ensure SlimerJS is installed properly. You'll likely need to set a
# SLIMERJSLAUNCHER environment variable. Our Makefile will default [1]
# to your base Firefox install on a Mac and fail otherwise. I found
# Firefox 30 works best.
# [1] https://github.com/mozilla/marketplace-gulp/blob/d70d902c8e07350b3d07dd25761626adf2a95ccd/Makefile#L6
make uitest-slimer
# PhantomJS might work out of the box but we've been having problems with it.
make uitest-phantom
cd fireplace
git pull
make install
commonplace langpacks
make build
API=mocklocal MKT_COMPILED=1 make serve
cd marketplace-api-mock
git pull
source env/bin/activate
pip install -r requirements.txt
python main.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment