Skip to content
Snippets Groups Projects
Forked from funkwhale / funkwhale
4919 commits behind the upstream repository.
After you've reviewed these contribution guidelines, you'll be all set to contribute to this project.
CONTRIBUTING.rst 23.57 KiB

Contribute to Funkwhale development

First of all, thank you for your interest in the project! We really appreciate the fact that you're about to take some time to read this and hack on the project.

This document will guide you through common operations such as:

  • Setup your development environment
  • Working on your first issue
  • Writing unit tests to validate your work
  • Submit your work

A quick path to contribute on the front-end

The next sections of this document include a full installation guide to help you setup a local, development version of Funkwhale. If you only want to fix small things on the front-end, and don't want to manage a full development environment, there is another way.

As the front-end can work with any Funkwhale server, you can work with the front-end only, and make it talk with an existing instance (like the demo one, or you own instance, if you have one).

If even that is too much for you, you can also make your changes without any development environment, and open a merge request. We will be able to review your work easily by spawning automatically a live version of your changes, thanks to Gitlab Review apps.

Setup front-end only development environment

  1. Clone the repository:

    git clone ssh://git@dev.funkwhale.audio/funkwhale/funkwhale.git
    cd funkwhale
    cd front
  2. Install nodejs and yarn

  3. Install the dependencies:

    yarn install
  4. Compile the translations:

    yarn i18n-compile
  5. Launch the development server:

    # this will serve the front-end on http://localhost:8000/front/
    VUE_PORT=8000 yarn serve
  6. Make the front-end talk with an existing server (like https://demo.funkwhale.audio or https://open.audio), by clicking on the corresponding link in the footer

  7. Start hacking!

Setup your development environment

If you want to fix a bug or implement a feature, you'll need to run a local, development copy of funkwhale.

We provide a docker based development environment, which should be both easy to setup and work similarly regardless of your development machine setup.

Instructions for bare-metal setup will come in the future (Merge requests are welcome).

Installing docker and docker-compose

This is already cover in the relevant documentations: