Skip to content

Commit

Permalink
Wait for MySQL to be ready
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Feb 24, 2021
1 parent fe156a7 commit 2d6ee3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitpod.yml
Expand Up @@ -11,8 +11,8 @@ ports:

tasks:
- name: Server
init: composer install && composer dump-autoload && git submodule update --init && cp .gitpod/config_inc.php ./config/
command: echo "Creating database..." && mysql -u root -e "create database bugtracker" && php ./admin/upgrade_unattended.php && mysql -u root bugtracker -e "INSERT INTO mantis_project_table (name, enabled, view_state, access_min, category_id, inherit_global, description) VALUES ('Test', 1, 10, 10, 1, 1, '')" && php -S 0.0.0.0:8000
init: composer install && composer dump-autoload && git submodule update --init && cp .gitpod/config_inc.php ./config/ && echo "Creating database..." && gp await-port 3306 && mysql -u root -e "create database bugtracker" && php ./admin/upgrade_unattended.php && mysql -u root bugtracker -e "INSERT INTO mantis_project_table (name, enabled, view_state, access_min, category_id, inherit_global, description) VALUES ('Test', 1, 10, 10, 1, 1, '')"
command: php -S 0.0.0.0:8000
- name: Terminal
command: echo "Welcome to MantisBT Development!"

Expand Down

0 comments on commit 2d6ee3e

Please sign in to comment.