Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 396
    • Issues 396
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhale
  • funkwhalefunkwhale
  • Merge requests
  • !1853

Add funkwhale script

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open getzze requested to merge getzze/funkwhale:funkwhale-script into develop Jun 27, 2022
  • Overview 32
  • Commits 5
  • Pipelines 2
  • Changes 1

Managing funkwhale with the cli is a bit tedious because you have to change user, load the env file, enter a virtualenv and run a django command.

Moreover, with the change to poetry, all the commands will be changed, it will be easier for people to make the change with this simple script.

This MR adds a script that can be put in /usr/bin to manage funkwhale more easily. I use it in the Arch (AUR) package currently (https://aur.archlinux.org/cgit/aur.git/tree/funkwhale_manage?h=funkwhale-venv).

For example:

sudo -u funkwhale -H -E /srv/funkwhale/virtualenv/bin/python api/manage.py collectstatic --no-input

becomes

sudo funkwhale_manage collectstatic --no-input
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: funkwhale-script