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
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