alamin655
commited on
Commit
•
5b12b7b
1
Parent(s):
8e7fa6b
Update .gitpod.yml
Browse files- .gitpod.yml +9 -12
.gitpod.yml
CHANGED
@@ -1,18 +1,13 @@
|
|
1 |
---
|
2 |
-
image:
|
|
|
|
|
3 |
# Commands that will run on workspace start
|
4 |
tasks:
|
5 |
-
- name:
|
6 |
-
before: apt install redis-server nodejs npm -y
|
7 |
init: cargo build -r
|
8 |
-
command: redis-server --port
|
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:
|
@@ -32,7 +27,9 @@ vscode:
|
|
32 |
- PKief.material-icon-theme
|
33 |
- oderwat.indent-rainbow
|
34 |
- formulahendry.auto-rename-tag
|
35 |
-
-
|
|
|
|
|
36 |
github:
|
37 |
prebuilds:
|
38 |
master: true
|
@@ -40,5 +37,5 @@ github:
|
|
40 |
pullRequests: true
|
41 |
pullRequestsFromForks: true
|
42 |
addCheck: true
|
43 |
-
addComment: false
|
44 |
addBadge: true
|
|
|
1 |
---
|
2 |
+
image:
|
3 |
+
file: .gitpod.Dockerfile
|
4 |
+
|
5 |
# Commands that will run on workspace start
|
6 |
tasks:
|
7 |
+
- name: Build & Deploy
|
|
|
8 |
init: cargo build -r
|
9 |
+
command: redis-server --port 8082 & ./target/release/websurfx
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
# vscode IDE setup
|
12 |
vscode:
|
13 |
extensions:
|
|
|
27 |
- PKief.material-icon-theme
|
28 |
- oderwat.indent-rainbow
|
29 |
- formulahendry.auto-rename-tag
|
30 |
+
- swellaby.vscode-rust-test-adapter
|
31 |
+
- belfz.search-crates-io
|
32 |
+
|
33 |
github:
|
34 |
prebuilds:
|
35 |
master: true
|
|
|
37 |
pullRequests: true
|
38 |
pullRequestsFromForks: true
|
39 |
addCheck: true
|
40 |
+
addComment: false
|
41 |
addBadge: true
|