You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
821 B
YAML
26 lines
821 B
YAML
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 && \
|
|
yarn
|
|
yarn build:ui:production
|
|
npx hydrooj cli system set server.port 2333
|
|
npx hydrooj cli user create root@hydro.local 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
|