Skip to content
Snippets Groups Projects
Commit 84838596 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'patch-1' into 'develop'

Add import instructions for ansible-installed instance

See merge request funkwhale/funkwhale!864
parents fc9c6f89 31f5848f
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,13 @@ to the ``/music`` directory on the container:
export LIBRARY_ID="<your_libary_id>"
docker-compose run --rm api python manage.py import_files $LIBRARY_ID "/music/**/*.ogg" --recursive --noinput
When you installed Funkwhale via ansible, you need to call a script instead of Python, and the folder path must be adapted accordingly:
.. code-block:: bash
export LIBRARY_ID="<your_libary_id>"
/srv/funkwhale/manage import_files $LIBRARY_ID "/srv/funkwhale/data/music/**/**/*.ogg" --recursive --noinput
.. note::
You'll have to create a library in the Web UI before to get your library ID. Simply visit
https://yourdomain/content/libraries/ to create one.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment