From 5b12b7bbe8ee86f7d60f604d4843ababf9790eb5 Mon Sep 17 00:00:00 2001 From: alamin655 <129589283+alamin655@users.noreply.github.com> Date: Sun, 6 Aug 2023 13:55:51 +0530 Subject: [PATCH] Update .gitpod.yml --- .gitpod.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 1871734..c26dd43 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,18 +1,13 @@ --- -image: gitpod/workspace-rust +image: + file: .gitpod.Dockerfile + # Commands that will run on workspace start tasks: - - name: Setup, Install & Build - before: apt install redis-server nodejs npm -y + - name: Build & Deploy 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: extensions: @@ -32,7 +27,9 @@ vscode: - PKief.material-icon-theme - oderwat.indent-rainbow - formulahendry.auto-rename-tag - - eamodio.gitlens + - swellaby.vscode-rust-test-adapter + - belfz.search-crates-io + github: prebuilds: master: true @@ -40,5 +37,5 @@ github: pullRequests: true pullRequestsFromForks: true addCheck: true - addComment: false + addComment: false addBadge: true