# Gitpod support

**URL:** <https://discourse.joplinapp.org/t/gitpod-support/23828>\
**Category:** Lounge\
**Created:** [19 February 2022 12:23 UTC](https://discourse.joplinapp.org/t/gitpod-support/23828 "2022-02-19T12:23:27Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![makb](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/makb/32/15539_2.png) [@makb](https://discourse.joplinapp.org/u/makb)\
**Post date:** [6 March 2022 16:40 UTC](https://discourse.joplinapp.org/t/gitpod-support/23828/6 "2022-03-06T16:40:20Z")

</div>

Hey,  
I was able to make .gitpod.yml file for our codebase. It took a bit long as I am not that familiar with this. It is as follows:  
**1 .gitpod.yml:**

```auto
tasks:
  - before: 
          sudo apt-get update &&
          sudo apt install -y build-essential libnss3 libsecret-1-dev python rsync &&
          sudo apt-get install -y libgbm-dev
  - init: 
          yarn install 
    command: yarn run watch

image:
  file: Dockerfile

ports:
  - port: 3000-6000
    onOpen: ignore

github:
  prebuilds:
    # enable for the default branch (defaults to true)
    dev: true
    # enable for all branches in this repo (defaults to false)
    branches: false
    # enable for pull requests coming from this repo (defaults to true)
    pullRequests: true
    # enable for pull requests coming from forks (defaults to false)
    pullRequestsFromForks: false
    # add a check to pull requests (defaults to true)
    addCheck: true
    # add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
    addComment: false
    # add a "Review in Gitpod" button to the pull request's description (defaults to false)
    addBadge: false

```

and ' **2. Dockerfile**' `FROM gitpod/workspace-full-vnc:latest`  
But we have to commit this file to the repo.

```auto
(https://gitpod.io/#prebuild/https://github.com/ORG/REPO)

```

But I am not sure about the pre-build([Gitpod Docs: Pre-builds](https://www.gitpod.io/docs/prebuilds)) part as they are not working, but apart from that it works.  
If anyone wants to try it here is the [Link](https://gitpod.io/#https://github.com/mak2002/joplin/tree/gitpod-test)(you would have to wait for the installation though)  
If anybody can improve the 'pre-build' part that would be great!

---

_[View the full topic](https://discourse.joplinapp.org/t/gitpod-support/23828)._
