Re: content-server: Avoid downloading of content-server-experiments?

2017-02-16 Thread Juan Garcia
:joy::joy::joy: :wink:

Thank you very much for that! That's exactly what I need! :)


Am 16.02.2017 um 11:01 schrieb Shane Tomlinson:
> Hey, and there's me before a sufficient coffee thinking I'm typing a
> GitHub comment.
> 
>  
> 
> 
> ```bash
> git clone https://github.com/mozilla/fxa-content-experiments.git
>  experiments
> ```
> 
> 
> 
> 
> 
> ___
> Dev-fxacct mailing list
> Dev-fxacct@mozilla.org
> https://mail.mozilla.org/listinfo/dev-fxacct
> 

-- 
m-privacy GmbH
Werner-Voß-Damm 62
12101 Berlin
Fon: +49 30 24342334
Fax: +49 30 99296856 (NEU!)
http://www.m-privacy.de
GnuPG-Key-ID: 0x2DD3A649

Amtsgericht Charlottenburg, HRB 84946
Geschäftsführer:
Dipl.-Kfm. Holger Maczkowsky,
Roman Maczkowsky



signature.asc
Description: OpenPGP digital signature
___
Dev-fxacct mailing list
Dev-fxacct@mozilla.org
https://mail.mozilla.org/listinfo/dev-fxacct


Re: content-server: Avoid downloading of content-server-experiments?

2017-02-16 Thread Shane Tomlinson
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.

You can do so by going to the fxa-content-server root directory and typing:

```bash
git clone https://github.com/mozilla/fxa-content-experiments.git experiments
```

In your server/config/local.json, add the following snippet:

```json
  "experiments": {
"git": "",
"watch": false
  },
```



On Wed, Feb 15, 2017 at 5:13 AM, Ryan Kelly  wrote:

>
> Redirecting to dev-fxacct, where it's more likely to be seen by the
> folks who work on content-server.
>
>
>   Ryan
>
>
> On 15/2/17 00:52, Juan Garcia wrote:
> > Hi again,
> >
> > It's been a very long time since I last asked a question here. It's
> > about time again ;)
> >
> > I just recently discovered that the content-server constantly downloads
> > the latest experiments (I haven't been able to figure out what these are
> > exactly) in order to run. I have stumbled upon this while running it on
> > a machine that doesn't have git installed and where I get the following
> > error:
> >
> > content-server PORT 3030-3 (out): fxa-content-server.route.500.ERROR:
> > Error: Command failed: /bin/sh -c git fetch -v origin dev && git reset
> > --hard FETCH_HEAD
> > content-server PORT 3030-3 (out): /bin/sh: git: command not found
> >
> > I would actually like to be able to run the fxa server even without an
> > Internet connection so installing git is not really the solution to my
> > problem.
> >
> > So here my first question:
> >
> > Is there any way to tell the server not to download the latest
> experiments?
> >
> > (Having to download a set of experiments once should not be a problem
> > e.g. cloning the git repo on some other machine and copying the files.)
> >
> > And another more general question:
> >
> > Is it at all possible to use an fxa server that is completely isolated
> > from the Internet?
> >
> > Thank you very much!
> >
> > Cheers,
> > Juanito
>
>
> ___
> Dev-fxacct mailing list
> Dev-fxacct@mozilla.org
> https://mail.mozilla.org/listinfo/dev-fxacct
>
>
___
Dev-fxacct mailing list
Dev-fxacct@mozilla.org
https://mail.mozilla.org/listinfo/dev-fxacct


Re: content-server: Avoid downloading of content-server-experiments?

2017-02-16 Thread Shane Tomlinson
Hey, and there's me before a sufficient coffee thinking I'm typing a GitHub
comment.



>
> ```bash
> git clone https://github.com/mozilla/fxa-content-experiments.git
> experiments
> ```
>
>
___
Dev-fxacct mailing list
Dev-fxacct@mozilla.org
https://mail.mozilla.org/listinfo/dev-fxacct


Re: content-server: Avoid downloading of content-server-experiments?

2017-02-14 Thread Ryan Kelly

Redirecting to dev-fxacct, where it's more likely to be seen by the
folks who work on content-server.


  Ryan


On 15/2/17 00:52, Juan Garcia wrote:
> Hi again,
> 
> It's been a very long time since I last asked a question here. It's
> about time again ;)
> 
> I just recently discovered that the content-server constantly downloads
> the latest experiments (I haven't been able to figure out what these are
> exactly) in order to run. I have stumbled upon this while running it on
> a machine that doesn't have git installed and where I get the following
> error:
> 
> content-server PORT 3030-3 (out): fxa-content-server.route.500.ERROR:
> Error: Command failed: /bin/sh -c git fetch -v origin dev && git reset
> --hard FETCH_HEAD
> content-server PORT 3030-3 (out): /bin/sh: git: command not found
> 
> I would actually like to be able to run the fxa server even without an
> Internet connection so installing git is not really the solution to my
> problem.
> 
> So here my first question:
> 
> Is there any way to tell the server not to download the latest experiments?
> 
> (Having to download a set of experiments once should not be a problem
> e.g. cloning the git repo on some other machine and copying the files.)
> 
> And another more general question:
> 
> Is it at all possible to use an fxa server that is completely isolated
> from the Internet?
> 
> Thank you very much!
> 
> Cheers,
> Juanito



signature.asc
Description: OpenPGP digital signature
___
Dev-fxacct mailing list
Dev-fxacct@mozilla.org
https://mail.mozilla.org/listinfo/dev-fxacct