forked from hydro-dev/Hydro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
28 lines (28 loc) · 886 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
image: gitpod/workspace-mongodb
tasks:
- name: MongoDB
init: mkdir -p /home/gitpod/db
command: mongod --dbpath /home/gitpod/db
- name: App
init: |
mkdir -p /home/gitpod/.hydro
echo '{"host":"127.0.0.1","port":"27017","name":"hydro","username":"","password":""}' >/home/gitpod/.hydro/config.json && \
nvm install 18
nvm use 18
nvm alias default 18
yarn
yarn build:ui:production
npx hydrooj cli system set server.port 2333
npx hydrooj cli user create [email protected] root rootroot 2
npx hydrooj cli user setSuperAdmin 2
command: yarn debug
env:
DEFAULT_STORE_PATH: /home/gitpod/file
vscode:
extensions:
- dbaeumer.vscode-eslint
- vscode-icons-team.vscode-icons
- samuelcolvin.jinjahtml
- tabnine.tabnine-vscode
- gruntfuggly.todo-tree
- ryanluker.vscode-coverage-gutters