<div dir="ltr"><div><div>Yeah, it's possible to run w/o downloading, but you do have to have `experiments` already downloaded in your `fxa-content-server` root directory.<br><br></div><div>You can do so by going to the fxa-content-server root directory and typing:<br><br></div><div>```bash<br></div><div>git clone <a href="https://github.com/mozilla/fxa-content-experiments.git">https://github.com/mozilla/fxa-content-experiments.git</a> experiments<br>```<br></div><div><br></div>In your server/config/local.json, add the following snippet:<br><br></div>```json<br>  "experiments": {<br>    "git": "",<br>    "watch": false<br>  },<br>```<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 5:13 AM, Ryan Kelly <span dir="ltr"><<a href="mailto:rfkelly@mozilla.com" target="_blank">rfkelly@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Redirecting to dev-fxacct, where it's more likely to be seen by the<br>
folks who work on content-server.<br>
<br>
<br>
  Ryan<br>
<br>
<br>
On 15/2/17 00:52, Juan Garcia wrote:<br>
> Hi again,<br>
><br>
> It's been a very long time since I last asked a question here. It's<br>
> about time again ;)<br>
><br>
> I just recently discovered that the content-server constantly downloads<br>
> the latest experiments (I haven't been able to figure out what these are<br>
> exactly) in order to run. I have stumbled upon this while running it on<br>
> a machine that doesn't have git installed and where I get the following<br>
> error:<br>
><br>
> content-server PORT 3030-3 (out): fxa-content-server.route.500.<wbr>ERROR:<br>
> Error: Command failed: /bin/sh -c git fetch -v origin dev && git reset<br>
> --hard FETCH_HEAD<br>
> content-server PORT 3030-3 (out): /bin/sh: git: command not found<br>
><br>
> I would actually like to be able to run the fxa server even without an<br>
> Internet connection so installing git is not really the solution to my<br>
> problem.<br>
><br>
> So here my first question:<br>
><br>
> Is there any way to tell the server not to download the latest experiments?<br>
><br>
> (Having to download a set of experiments once should not be a problem<br>
> e.g. cloning the git repo on some other machine and copying the files.)<br>
><br>
> And another more general question:<br>
><br>
> Is it at all possible to use an fxa server that is completely isolated<br>
> from the Internet?<br>
><br>
> Thank you very much!<br>
><br>
> Cheers,<br>
> Juanito<br>
<br>
<br>______________________________<wbr>_________________<br>
Dev-fxacct mailing list<br>
<a href="mailto:Dev-fxacct@mozilla.org">Dev-fxacct@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/dev-fxacct" rel="noreferrer" target="_blank">https://mail.mozilla.org/<wbr>listinfo/dev-fxacct</a><br>
<br></blockquote></div><br></div>