funkwhale/docs/developer/setup/vite.md

921 B

Develop using Vite

If you want to make changes to the frontend, you can use Vite to run a development server. This allows you to run a Funkwhale web app and see changes in real time

  1. Clone the repository:

    ::::{tab-set}

    :::{tab-item} SSH

    git clone git@dev.funkwhale.audio/funkwhale/funkwhale.git
    cd funkwhale/front
    

    :::

    :::{tab-item} HTTPS

    git clone https://dev.funkwhale.audio/funkwhale/funkwhale.git
    cd funkwhale/front
    

    :::

    ::::

  2. Install Node.js and Yarn

  3. Install all dependencies:

    yarn install
    
  4. Launch the development server:

    yarn dev
    

You can access the Funkwhale web app at http://localhost:8000/front. Connect this app to your pod by selecting {guilabel}Switch instance in the sidebar.