0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-10-18 06:22:53 -04:00

Update .gitpod.yml

This commit is contained in:
alamin655 2023-08-06 13:55:51 +05:30 committed by GitHub
parent 8e7fa6bb97
commit 5b12b7bbe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,13 @@
--- ---
image: gitpod/workspace-rust image:
file: .gitpod.Dockerfile
# Commands that will run on workspace start # Commands that will run on workspace start
tasks: tasks:
- name: Setup, Install & Build - name: Build & Deploy
before: apt install redis-server nodejs npm -y
init: cargo build -r init: cargo build -r
command: redis-server --port 8080 & ./target/release/websurfx command: redis-server --port 8082 & ./target/release/websurfx
# Ports to expose on workspace startup
ports:
- name: Website
description: Website Preview
port: 8080
onOpen: notify
# vscode IDE setup # vscode IDE setup
vscode: vscode:
extensions: extensions:
@ -32,7 +27,9 @@ vscode:
- PKief.material-icon-theme - PKief.material-icon-theme
- oderwat.indent-rainbow - oderwat.indent-rainbow
- formulahendry.auto-rename-tag - formulahendry.auto-rename-tag
- eamodio.gitlens - swellaby.vscode-rust-test-adapter
- belfz.search-crates-io
github: github:
prebuilds: prebuilds:
master: true master: true
@ -40,5 +37,5 @@ github:
pullRequests: true pullRequests: true
pullRequestsFromForks: true pullRequestsFromForks: true
addCheck: true addCheck: true
addComment: false addComment: false
addBadge: true addBadge: true