Athens: Missing Mongo Configuration?

Created on 18 May 2018  Â·  3Comments  Â·  Source: gomods/athens

Just trying to run the test suite without any changes to the source I'm getting an error about the mongo URL env variable.
creating eventlog (missing mongo URL (could not find ENV var with ATHENS_MONGO_STORAGE_URL))

Should there be some instructions on setting this? I have the docker images all running, buffalo dev works from cmd/proxy.
Is this even required or is this another issue masquerading?

Most helpful comment

Yes please!

On Sat, May 19, 2018 at 08:26 Rob j Loranger notifications@github.com
wrote:

Should this be added to the readme? I'm happy to add it if so.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gomods/athens/issues/139#issuecomment-390412309, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEU0djFyolgxXpiW_ujAjwsRqeTCinCks5t0DmLgaJpZM4UFJsN
.

All 3 comments

@robjloranger
Please try setting the env vars:

export POP_PATH=$PWD/cmd/proxy
export GO_ENV=test_postgres
export MINIO_ACCESS_KEY=minio
export MINIO_SECRET_KEY=minio123
export ATHENS_MONGO_STORAGE_URL=mongodb://127.0.0.1:27017

You can also take a look at travis.yml for reference.

Should this be added to the readme? I'm happy to add it if so.

Yes please!

On Sat, May 19, 2018 at 08:26 Rob j Loranger notifications@github.com
wrote:

Should this be added to the readme? I'm happy to add it if so.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gomods/athens/issues/139#issuecomment-390412309, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEU0djFyolgxXpiW_ujAjwsRqeTCinCks5t0DmLgaJpZM4UFJsN
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Haiyung picture Haiyung  Â·  3Comments

komuw picture komuw  Â·  3Comments

opinionsDazzle picture opinionsDazzle  Â·  4Comments

weitangli picture weitangli  Â·  3Comments

fedepaol picture fedepaol  Â·  4Comments