Skip to content

Commit

Permalink
chore: add gitpod config file for quick setup (#30921)
Browse files Browse the repository at this point in the history
Co-authored-by: Debdut Chakraborty <[email protected]>
  • Loading branch information
anikdhabal and debdutdeb authored Jan 5, 2024
1 parent cf3f91f commit d5d7d50
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
tasks:
- init: |
nvm install $(jq -r .engines.node package.json) &&
curl https://install.meteor.com/ | sh &&
export PATH="$PATH:$HOME/.meteor" &&
yarn &&
export ROOT_URL=$(gp url 3000)
command: yarn build && yarn dev
ports:
- port: 3000
visibility: public
onOpen: open-preview

github:
prebuilds:
master: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: true
addBadge: true

vscode:
extensions:
- esbenp.prettier-vscode
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ yarn dsv # run only meteor (front and back) with pre-built packages

After initialized, you can access the server at http://localhost:3000

# Gitpod Setup

1. Click the button below to open this project in Gitpod.

2. This will open a fully configured workspace in your browser with all the necessary dependencies already installed.

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/RocketChat/Rocket.Chat)

**Starting Rocket.Chat in microservices mode:**

```bash
Expand Down

0 comments on commit d5d7d50

Please sign in to comment.