Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 379
    • Issues 379
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Merge requests
  • !1831

Add Gitpod support and guide

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kasper Seweryn requested to merge wvffle/gitpod into develop Jun 13, 2022
  • Overview 4
  • Commits 17
  • Pipelines 16
  • Changes 7

Changes

I've added and configured .gitpod.yml in a way that when you start a new workspace, it runs a Funkwhale instance with docker that is configured according to the CONTRIBUTING.rst. You can test the behavior navigating to https://gitpod.io/#https://dev.funkwhale.audio/funkwhale/funkwhale/-/tree/wvffle/gitpod

I've also added a section about Gitpod to the CONTRIBUTING.rst

I removed some unused parts of nginx configuration that I guess are remaining from the webpack era. (Haven't found any occurances of sockjs and front-server in current node_modules using grep)

Additional context

I downgraded the alpine version to 3.14 for python-ldap to build correctly and to be able to create a Gitpod prebuild.

Fullstack instance asks whether the user wants to open the preview or not and frontend only server (which only starts if you open a workspace in /workspace/funkwhale/front by hand due to the vite extension for vscode) opens a preview automatically. My reasoning for that behavior is that you may not be interested in the frontend when you develop backend and you may not be interested in backend while developing frontend. The vite vscode plugin also integrates better with vscode than the vite server served by docker.

Edited Jun 13, 2022 by Kasper Seweryn
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wvffle/gitpod