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

./environment.sh small issue #11

Open
Jean-Baptiste-Lasselle opened this issue Jan 15, 2021 · 0 comments
Open

./environment.sh small issue #11

Jean-Baptiste-Lasselle opened this issue Jan 15, 2021 · 0 comments

Comments

@Jean-Baptiste-Lasselle
Copy link

Jean-Baptiste-Lasselle commented Jan 15, 2021

When you execute it, the ./environment.sh script does not find the .env file .

I found the quick fix, which was just about changing the path from . .env to . ./.env :

jbl@pc-alienware-jbl:~/docker-compose-all-mysql$ cat ./environment.sh | grep '.env'
. .env
jbl@pc-alienware-jbl:~/docker-compose-all-mysql$ ./environment.sh 
./environment.sh: 2: .: .env: not found
jbl@pc-alienware-jbl:~/docker-compose-all-mysql$ vi ./environment.sh 
jbl@pc-alienware-jbl:~/docker-compose-all-mysql$ ./environment.sh 
jbl@pc-alienware-jbl:~/docker-compose-all-mysql$ ./connect-mysql-8-0.sh 
[WARN] [01/30] waiting for running...
[WARN] [02/30] waiting for running...
[WARN] [03/30] waiting for running...
[WARN] [04/30] waiting for running...
[WARN] [05/30] waiting for running...
[WARN] [06/30] waiting for running...
[WARN] [07/30] waiting for running...
[WARN] [08/30] waiting for running...
[WARN] [09/30] waiting for running...
[WARN] [10/30] waiting for running...
[WARN] [11/30] waiting for running...
[WARN] [12/30] waiting for running...
[WARN] [13/30] waiting for running...
[WARN] [14/30] waiting for running...
[WARN] [15/30] waiting for running...
[WARN] [16/30] waiting for running...
[WARN] [17/30] waiting for running...
^C
jbl@pc-alienware-jbl:~/docker-compose-all-mysql$ cat ./environment.sh | grep '.env'
. ./.env
jbl@pc-alienware-jbl:~/docker-compose-all-mysql$ 

Thank you for your work, allowing to quickly setup a database

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

1 participant