forked from gschafra/one-day-at-itx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitpod.yml
45 lines (45 loc) · 1.67 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
image:
file: .gitpod.dockerfile
ports:
- port: 8080
onOpen: open-preview
- port: 3306
onOpen: ignore
tasks:
- name: Apache & MySQL
command: >
cp .env.example .env;
cp .htaccess.example .htaccess;
mariadb-install-db --defaults-extra-file=$GITPOD_REPO_ROOT/gitpod_config/mysql/mysql.cnf --auth-root-authentication-method=normal --datadir=$GITPOD_REPO_ROOT/gitpod_config/mysql/data --user=gitpod --force --verbose;
mysqld_safe --defaults-file=$GITPOD_REPO_ROOT/gitpod_config/mysql/mysql.cnf --log-error=$GITPOD_REPO_ROOT/gitpod_config/mysql/logs/error.log --general-log-file=$GITPOD_REPO_ROOT/gitpod_config/mysql/logs/mysql.log --datadir=$GITPOD_REPO_ROOT/gitpod_config/mysql/data &
sleep 5;
mysql -u root -e "CREATE DATABASE testdb";
apachectl start;
multitail $GITPOD_REPO_ROOT/gitpod_config/apache/logs/access.log -I $GITPOD_REPO_ROOT/gitpod_config/apache/logs/error.log -I $GITPOD_REPO_ROOT/gitpod_config/mysql/logs/error.log
- name: Terminal
command: >
nvm install 16;
nvm use 16;
echo "";
echo "";
echo "";
echo "Welcome!";
echo "";
echo "Start, stop or review Apache errors:";
echo " * apachectl stop";
echo " * apachectl start";
echo " * gp open /var/log/apache2/access.log";
echo " * gp open /var/log/apache2/error.log";
openMode: split-right
vscode:
extensions:
- cweijan.vscode-database-client2
- ms-vscode.vscode-typescript-tslint-plugin
- dbaeumer.vscode-eslint
- johnpapa.angular2
- cyrilletuzi.angular-schematics
- angular.ng-template
- ecmel.vscode-html-css
- bmewburn.vscode-intelephense-client
- nadim-vscode.symfony-code-snippets
- donjayamanne.git-extension-pack