0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 14:08:23 -05:00

Merge pull request #132 from alamin655/improving-gitpod

🧹 chore: improve the `Gitpod` setup
This commit is contained in:
neon_arch 2023-07-04 20:21:45 +03:00 committed by GitHub
commit 2dbffcc6b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,23 @@
--- ---
image: ubuntu:latest image: gitpod/workspace-base
# Commands that will run on workspace start # Commands that will run on workspace start
tasks: tasks:
- name: Setup, Install & Build - name: Setup, Install & Build
- before: apt install cargo redis-server nodejs npm && cargo test before: apt install cargo redis-server nodejs npm -y && cargo test
- init: cargo install cargo-watch init: cargo install cargo-watch
- command: redis-server --port 8080 & cargo watch -q -w "." -x "run" command: redis-server --port 8080 & cargo watch -q -w "." -x "run"
# Ports to expose on workspace startup # Ports to expose on workspace startup
ports: ports:
- name: Website - name: Website
description: Website Preview description: Website Preview
port: 8080 port: 8080
onOpen: open-browser onOpen: open-preview
# vscode IDE setup # vscode IDE setup
vscode: vscode:
extensions: extensions:
- vadimcn.vscode-lldb - vadimcn.vscode-lldb
- rust-lang.rust-analyzer - cschleiden.vscode-github-actions
- rust-lang.rust
- bungcip.better-toml - bungcip.better-toml
- serayuzgur.crates - serayuzgur.crates
- usernamehw.errorlens - usernamehw.errorlens
@ -27,10 +28,8 @@ vscode:
- evgeniypeshkov.syntax-highlighter - evgeniypeshkov.syntax-highlighter
- redhat.vscode-yaml - redhat.vscode-yaml
- ms-azuretools.vscode-docker - ms-azuretools.vscode-docker
- GitHub.vscode-github-actions
- Catppuccin.catppuccin-vsc - Catppuccin.catppuccin-vsc
- PKief.material-icon-theme - PKief.material-icon-theme
- tal7aouy.rainbow-bracket
- oderwat.indent-rainbow - oderwat.indent-rainbow
- formulahendry.auto-rename-tag - formulahendry.auto-rename-tag
- eamodio.gitlens - eamodio.gitlens