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

Problem with setup.sql #3

Open
JordanTreDaniel opened this issue May 6, 2022 · 0 comments
Open

Problem with setup.sql #3

JordanTreDaniel opened this issue May 6, 2022 · 0 comments

Comments

@JordanTreDaniel
Copy link

Hello I followed the tutorial at https://www.section.io/engineering-education/build-and-dockerize-a-full-stack-react-app-with-nodejs-and-nginx/ and firstly, THANK YOU for taking the time to write that and set it up.

I have one small problem though. When following the original steps, the docker-compose.yml file being executed simply created a directory of setup.sql, but did not add the "script" that creates your table. I tried to change this directory to a file, (called setup.sql at the project root) but then it simply errored out as I executed the script to run the docker-compose.yml file.

I have tried to make a directory called setup.sql with a file within that called setup.sql, which contains the script, but although there is no error, the adminer seems to indicated this script was not executed.

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