Closed pasthorizon closed 3 years ago
Is init.sh
unnecessary now? Please delete it if that is the case.
@grapheo12 Changes made:)
@pasthorizon There is a merge conflict due to #39. Please resolve it. Looks good to me otherwise. After removing conflict, please check if:
Hey @grapheo12 I have made the changes. Kindly look into it
Hey! There are still merge conflicts remaining. There is a whole chunk of commented out code. Please see. Don't worry about midevals. I'll handle them.
Merged install.sh and init.sh to eliminate the need to run two different scripts. The need for manually stopping the
docker-compose up
is eliminated by redirecting the logs to text file and periodically running a pattern match for "mysqld: ready for connections". The commanddocker-compose up
is given from a different terminal. When the pattern matches, we stop the process and the newly created terminal is closed. We have appended the init.sh script to install.sh , which ensures its running as soon as the process is killed.