-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
34 lines (33 loc) · 956 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
image:
file: .gitpod.Dockerfile
ports:
- port: 8080
onOpen: open-preview
- port: 3306
onOpen: ignore
- port: 9003
onOpen: ignore
checkoutLocation: "tiki"
tasks:
- name: Tiki
init: >
mkdir -p /workspace/logs/apache;
mkdir -p /workspace/logs/mysql;
mkdir -p /workspace/mysql/data;
sudo mysql_install_db --auth-root-authentication-method=normal;
sudo service mysql start;
mysqladmin -u root --password="" password gitpod;
mysql -e "CREATE DATABASE tiki_db";
sh setup.sh composer;
php console.php database:configure --host localhost root gitpod tiki_db;
php console.php database:install;
command: >
sudo service mysql status;
test $? -eq 0 || sudo service mysql start;
apachectl start;
cd $GITPOD_REPO_ROOT;
vscode:
extensions:
- felixfbecker.php-debug
- bmewburn.vscode-intelephense-client
- bmewburn.vscode-intelephense-client