AgentGPT icon indicating copy to clipboard operation
AgentGPT copied to clipboard

.env not found

Open mikmoth opened this issue 1 year ago • 6 comments

After running the setup and then running docker, docker says: .env not found

mikmoth avatar May 02 '23 00:05 mikmoth

did you change the .env.template file to .env?

bigsk1 avatar May 03 '23 03:05 bigsk1

same problem when running setup.sh --docker

joisonwk avatar May 03 '23 14:05 joisonwk

did you change the .env.template file to .env?

yes , I tried, but the problem is still.

joisonwk avatar May 03 '23 14:05 joisonwk

Found a workaround. Install dos2unix and run:

dos2unix entrypoint.sh

then ./setup.sh --docker again.

alexarthurs avatar May 05 '23 02:05 alexarthurs

I will make a pull request, there are errors in the Dockerfile and in the entrypoint.sh file. You should make good tests for Windows, though :(

lauralex avatar May 11 '23 15:05 lauralex

This is related to #511

lauralex avatar May 11 '23 16:05 lauralex

Given the other issues are closed and this had to do with windows line endings (And I'm no longer on windows) - closing

asim-shrestha avatar Jun 29 '23 19:06 asim-shrestha

Thanks @lauralex and @alexarthurs !

Hope its good now @mikmoth @bigsk1 @joisonwk !

asim-shrestha avatar Jun 29 '23 19:06 asim-shrestha