[Opa] Opa 9.0.1 with mongodb

Norman Scaife norman.scaife at mlstate.com
Wed Mar 21 08:19:51 UTC 2012


Tristan,

On Sun, 2012-03-11 at 19:34 -0500, Tristan Sloughter wrote:
> How do I set a username and password for a remote mongo database? I
> can't find it in the documentation and I'm trying to use mongolab for
> hosting the database.

Authentication for MongoDB has just been added to the command line
options:

--db-remote:dbname user:password at host:port

Where "user" and "password" apply to database "dbname".  It should
appear in last night's build and should appear on github in a few days.
The documentation has also been updated but I don't know how long it
takes to filter through to the opalang.org website.

Best wishes,
Norman Scaife.
--
Programmer @ MLState

> Thanks,
> Tristan
> 
> On Sun, Mar 11, 2012 at 1:55 PM, Tristan Sloughter
> <tristan.sloughter at gmail.com> wrote:
>         Sweet. can you send me a pull request for those changes?
>         
>         
>         On Sun, Mar 11, 2012 at 1:50 PM, Cédric Soulas
>         <cedric.soulas at mlstate.com> wrote:
>                 Hi,
>                 
>                 
>                 I forked OpaDo app (by Sloughter in cc) to port it to
>                 the mongodb backend. It should be a good example to
>                 start with.
>                 https://github.com/cedricss/OpaDo
>                 
>                 
>                 If you need to port db codes from Opa 9.0.0 to 9.0.1,
>                 check this thread: http://forum.opalang.org/#0_62
>                 
>                 
>                 --
>                 Cédric
>         
>         
> 
> 
> _______________________________________________
> Opa mailing list
> Opa at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/opa




More information about the Opa mailing list