Spaces:
Runtime error
Runtime error
alamin655
commited on
Commit
•
8e7fa6b
1
Parent(s):
58bc578
Update .gitpod.yml
Browse files- .gitpod.yml +7 -7
.gitpod.yml
CHANGED
@@ -1,23 +1,24 @@
|
|
1 |
---
|
2 |
-
image: gitpod/workspace-
|
3 |
# Commands that will run on workspace start
|
4 |
tasks:
|
5 |
- name: Setup, Install & Build
|
6 |
-
before: apt install
|
7 |
-
init: cargo
|
8 |
-
command: redis-server --port 8080 &
|
|
|
9 |
# Ports to expose on workspace startup
|
10 |
ports:
|
11 |
- name: Website
|
12 |
description: Website Preview
|
13 |
port: 8080
|
14 |
-
onOpen:
|
15 |
# vscode IDE setup
|
16 |
vscode:
|
17 |
extensions:
|
18 |
- vadimcn.vscode-lldb
|
19 |
- cschleiden.vscode-github-actions
|
20 |
-
- rust-lang.rust
|
21 |
- bungcip.better-toml
|
22 |
- serayuzgur.crates
|
23 |
- usernamehw.errorlens
|
@@ -26,7 +27,6 @@ vscode:
|
|
26 |
- stylelint.vscode-stylelint
|
27 |
- dbaeumer.vscode-eslint
|
28 |
- evgeniypeshkov.syntax-highlighter
|
29 |
-
- redhat.vscode-yaml
|
30 |
- ms-azuretools.vscode-docker
|
31 |
- Catppuccin.catppuccin-vsc
|
32 |
- PKief.material-icon-theme
|
|
|
1 |
---
|
2 |
+
image: gitpod/workspace-rust
|
3 |
# Commands that will run on workspace start
|
4 |
tasks:
|
5 |
- name: Setup, Install & Build
|
6 |
+
before: apt install redis-server nodejs npm -y
|
7 |
+
init: cargo build -r
|
8 |
+
command: redis-server --port 8080 & ./target/release/websurfx
|
9 |
+
|
10 |
# Ports to expose on workspace startup
|
11 |
ports:
|
12 |
- name: Website
|
13 |
description: Website Preview
|
14 |
port: 8080
|
15 |
+
onOpen: notify
|
16 |
# vscode IDE setup
|
17 |
vscode:
|
18 |
extensions:
|
19 |
- vadimcn.vscode-lldb
|
20 |
- cschleiden.vscode-github-actions
|
21 |
+
- rust-lang.rust-analyzer
|
22 |
- bungcip.better-toml
|
23 |
- serayuzgur.crates
|
24 |
- usernamehw.errorlens
|
|
|
27 |
- stylelint.vscode-stylelint
|
28 |
- dbaeumer.vscode-eslint
|
29 |
- evgeniypeshkov.syntax-highlighter
|
|
|
30 |
- ms-azuretools.vscode-docker
|
31 |
- Catppuccin.catppuccin-vsc
|
32 |
- PKief.material-icon-theme
|