Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose -p otree5 up --build #1

Open
ytia opened this issue Apr 25, 2022 · 1 comment
Open

docker-compose -p otree5 up --build #1

ytia opened this issue Apr 25, 2022 · 1 comment

Comments

@ytia
Copy link

ytia commented Apr 25, 2022

Hi,

I am new to docker and I am trying to build a docker image using this repo and thanks for sharing.

I am not sure what I did wrong, I create a folder named app and put all my otree code there inside the otree_docker-main folder and download this repo. Then I run docker-compose -p otree5 up --build at the terminal, and it says ....Downloads/otree_docker-main/secrets.env: no such file or directory.

Thanks!

@joachim-gassen
Copy link
Member

Hi there:

Thanks for your kind words and for using our stuff. Have you edited the _secrets.env file and saved it as secrets.env?
From the README:

"Then, you need to set the passwords for the oTree instance and the Postgres database. For this, copy the _secrets.env file to secrets.env and edit the passwords as well as the oTree API key. secrets.env is included in .gitignore to avoid accidental commits."

If this is not the culprit then I would verify that you are in the correct directory (the one of the repo) when calling docker-compose.

Good luck!

Joachim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants