We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d82f410 commit 9d04cd5Copy full SHA for 9d04cd5
1 file changed
deploy.sh
@@ -33,6 +33,13 @@ for i in {1..30}; do
33
sleep 2
34
done
35
36
+echo "Initializing database with create_tables.sql..."
37
+if curl -s https://raw.githubusercontent.com/Evolvus/github-smart/main/create_tables.sql | docker exec -i ${MYSQL_NAME} mysql -u root -p"${MYSQL_ROOT_PASSWORD:-github_smart_root_password}" "${DB_NAME:-project_management}"; then
38
+ echo "Database initialization completed successfully"
39
+else
40
+ echo "Warning: Database initialization failed, but continuing..."
41
+fi
42
+
43
echo "Starting/Restarting app container..."
44
docker rm -f ${APP_NAME} >/dev/null 2>&1 || true
45
docker run -d \
0 commit comments