.gitpod.yml 643 B

12345678910111213141516171819202122232425262728
  1. tasks:
  2. - name: docs
  3. before: make docs-deps
  4. command: mkdocs serve
  5. - name: binary
  6. before: |
  7. npm install --global nodemon
  8. make cli-deps-static-sites
  9. command: |
  10. nodemon --watch './**/*.go' --ext go --signal SIGTERM --exec "CGO_ENABLED=1 go run main.go serve --listen-http :2586 --debug --base-url $(gp url 2586)"
  11. openMode: split-right
  12. - name: web
  13. before: make web-deps
  14. command: cd web && npm start
  15. openMode: split-right
  16. vscode:
  17. extensions:
  18. - golang.go
  19. - ms-azuretools.vscode-docker
  20. ports:
  21. - name: docs
  22. port: 8000
  23. - name: binary
  24. port: 2586
  25. - name: web
  26. port: 3000