Develop using Gitpod
Note
You need a GitHub or GitLab.com account to log in to Gitpod.
Funkwhale has a Gitpod instance that gives you all the tools you need to work on Funkwhale’s code. You can work on the code in-browser using a hosted VS Code install or open VS Code on your desktop over SSH.
You can open Gitpod directly by clicking the link below. This checks out the develop
branch for you to work on directly.
If you want to work on a particular branch, commit, or merge request, you can do this straight from the GitLab interface. Select the arrow icon on the Web IDE button and select Gitpod to open Gitpod with the currently selected branch checked out.
When you start Gitpod, it creates the following using the selected branch:
A Funkwhale API instance
A Funkwhale frontend instance
You can access the web app at http://localhost:8000
. Log in with the following credentials:
Username –
gitpod
Password –
gitpod
Work on the frontend
By default, Gitpod spins up an entire Funkwhale stack. If you want to work only on the frontend:
Select
File
>Open Folder
Select
/workspace/funkwhale/front
Gitpod starts a new Vite server on port 4000. This creates a frontend that isn’t connected to any instance.
GitLab Workflow extension
Gitpod offers a GitLab workflow extension to help manage GitLab issues, merge requests, and pipelines. If you want to use it:
Navigate to the personal access token section of your GitLab profile settings
Create a personal access token with
api
andread_user
scopesPaste your token into your Gitpod variables
Use the following settings to automatically sign in to the extension with Gitpod. The funkwhale/*
scope ensures you can use the settings for all Funkwhale-hosted projects.
Name |
Value |
Scope |
---|---|---|
|
|
|
|
Your token |
|
Configure custom instance URL
You can configure Gitpod to use your Funkwhale pod as the default server. This means you can test frontend changes on your pod without selecting it each time. To do this, add the following to your Gitpod variables:
Name |
Value |
Scope |
---|---|---|
|
|
|