Spaces:
Runtime error
Runtime error
alamin655
commited on
Commit
•
bf01f1f
1
Parent(s):
6ccef40
Update .gitpod.yml
Browse files- .gitpod.yml +4 -4
.gitpod.yml
CHANGED
@@ -3,15 +3,15 @@ image: gitpod/workspace-base
|
|
3 |
# Commands that will run on workspace start
|
4 |
tasks:
|
5 |
- name: Setup, Install & Build
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
# Ports to expose on workspace startup
|
10 |
ports:
|
11 |
- name: Website
|
12 |
description: Website Preview
|
13 |
port: 8080
|
14 |
-
onOpen: open-
|
15 |
# vscode IDE setup
|
16 |
vscode:
|
17 |
extensions:
|
|
|
3 |
# Commands that will run on workspace start
|
4 |
tasks:
|
5 |
- name: Setup, Install & Build
|
6 |
+
before: apt install cargo redis-server nodejs npm -y && cargo test
|
7 |
+
init: cargo install cargo-watch
|
8 |
+
command: redis-server --port 8080 & cargo watch -q -w "." -x "run"
|
9 |
# Ports to expose on workspace startup
|
10 |
ports:
|
11 |
- name: Website
|
12 |
description: Website Preview
|
13 |
port: 8080
|
14 |
+
onOpen: open-preview
|
15 |
# vscode IDE setup
|
16 |
vscode:
|
17 |
extensions:
|