Clean up documentation
This commit is contained in:
parent
da61fedef0
commit
dfa73631c7
16 changed files with 836 additions and 1014 deletions
|
|
@ -1,8 +1,48 @@
|
|||
# Develop using Vite
|
||||
|
||||
```{include} ../../../CONTRIBUTING.md
|
||||
---
|
||||
start-after: "### Vite"
|
||||
end-before: "## Contribute to the API"
|
||||
---
|
||||
```
|
||||
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
|
||||
|
||||
```sh
|
||||
git clone git@dev.funkwhale.audio/funkwhale/funkwhale.git
|
||||
cd funkwhale/front
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
:::{tab-item} HTTPS
|
||||
|
||||
```sh
|
||||
git clone https://dev.funkwhale.audio/funkwhale/funkwhale.git
|
||||
cd funkwhale/front
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::::
|
||||
|
||||
2. Install [Node.js](https://nodejs.org/en/download/package-manager/) and [Yarn](https://classic.yarnpkg.com/lang/en/docs/install/)
|
||||
3. Install all dependencies:
|
||||
|
||||
```sh
|
||||
yarn install
|
||||
```
|
||||
|
||||
4. Compile the translations:
|
||||
|
||||
```sh
|
||||
yarn i18n-compile
|
||||
```
|
||||
|
||||
5. Launch the devlopment server:
|
||||
|
||||
```sh
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue