parent
66ea77f771
commit
5ff69cf1f8
|
@ -146,18 +146,6 @@ docker compose down --volumes
|
|||
rm -rf .state/
|
||||
```
|
||||
|
||||
### Set up local data for development
|
||||
|
||||
You can create local data to mimic a live environment.
|
||||
|
||||
Add some fake data to populate the database. The following command creates 25 artists with random albums, tracks, and metadata.
|
||||
|
||||
```sh
|
||||
artists=25 # Adds 25 fake artists
|
||||
command="from funkwhale_api.music import fake_data; fake_data.create_data($artists)"
|
||||
echo $command | docker compose run --rm -T api funkwhale-manage shell -i python
|
||||
```
|
||||
|
||||
### Running multiple instances
|
||||
|
||||
Set up as many different projects as you need. Make sure the `COMPOSE_PROJECT_NAME` and `VUE_PORT` variables are unique per instance
|
||||
|
|
Loading…
Reference in New Issue