ギターを弾く -Playing guitar-

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
Shin'ya Minazuki 2026-01-25 01:20:05 -03:00
commit 668b994f32
4 changed files with 37 additions and 38 deletions

View file

@ -4,8 +4,8 @@ image:
tasks: tasks:
- name: Backend - name: Backend
env: env:
ENV_FILE: /workspace/funkwhale/.gitpod/.env ENV_FILE: /workspace/funquail/.gitpod/.env
COMPOSE_FILE: /workspace/funkwhale/.gitpod/docker-compose.yml COMPOSE_FILE: /workspace/funquail/.gitpod/docker-compose.yml
before: | before: |
cp .gitpod/gitpod.env .gitpod/.env cp .gitpod/gitpod.env .gitpod/.env
cd api cd api
@ -18,9 +18,9 @@ tasks:
gp ports await 5432 gp ports await 5432
poetry run funkwhale-manage migrate poetry run funquail-manage migrate
poetry run funkwhale-manage fw users create --superuser --username gitpod --password funkwhale --email test@example.org poetry run funquail-manage fw users create --superuser --username gitpod --password funquail --email test@example.org
poetry run funkwhale-manage gitpod init poetry run funquail-manage gitpod init
command: | command: |
echo "MEDIA_URL=`gp url 8000`/media/" >> ../.gitpod/.env echo "MEDIA_URL=`gp url 8000`/media/" >> ../.gitpod/.env
echo "STATIC_URL=`gp url 8000`/staticfiles/" >> ../.gitpod/.env echo "STATIC_URL=`gp url 8000`/staticfiles/" >> ../.gitpod/.env
@ -29,16 +29,16 @@ tasks:
docker-compose up -d docker-compose up -d
gp ports await 5432 gp ports await 5432
poetry run funkwhale-manage collectstatic --no-input poetry run funquail-manage collectstatic --no-input
poetry run funkwhale-manage gitpod dev poetry run funquail-manage gitpod dev
- name: Celery Worker - name: Celery Worker
env: env:
ENV_FILE: /workspace/funkwhale/.gitpod/.env ENV_FILE: /workspace/funquail/.gitpod/.env
before: cd api before: cd api
command: | command: |
gp ports await 5000 gp ports await 5000
poetry run celery -A funkwhale_api.taskapp worker -l debug -B --concurrency=0 poetry run celery -A funquail_api.taskapp worker -l debug -B --concurrency=0
- name: Frontend - name: Frontend
env: env:
@ -53,10 +53,10 @@ tasks:
init: make install init: make install
command: make dev command: make dev
- name: Welcome to Funkwhale development! - name: Welcome to FunQuail development!
env: env:
COMPOSE_FILE: /workspace/funkwhale/.gitpod/docker-compose.yml COMPOSE_FILE: /workspace/funquail/.gitpod/docker-compose.yml
ENV_FILE: /workspace/funkwhale/.gitpod/.env ENV_FILE: /workspace/funquail/.gitpod/.env
VUE_EDITOR: code VUE_EDITOR: code
DJANGO_SETTINGS_MODULE: config.settings.local DJANGO_SETTINGS_MODULE: config.settings.local
init: | init: |
@ -64,21 +64,21 @@ tasks:
pre-commit run --all pre-commit run --all
command: | command: |
echo "" echo ""
echo -e " ⠀⠀⠸⣿⣷⣦⣄⣠⣶⣾⣿⠇⠀⠀ You can now start developing Funkwhale with gitpod!" echo -e " You can now start developing FunQuail with gitpod!"
echo -e " ⠀⠀⠀⠈⠉⠻⣿⣿⠟⠉⠁⠀⠀⠀" echo -e " "
echo -e " \u1b[34m⣀⢀⡀⢀⣀\u1b[0m⠹⠇\u1b[34m⣀⡀⢀⡀⣀ \u1b[0mTo sign in to the superuser account," echo -e " To sign in to the superuser account,"
echo -e " \u1b[34m⢻⣇⠘⣧⡈⠻⠶⠶⠟⢁⣾⠃⣸⡟ \u1b[0mplease use these credentials:" echo -e " please use these credentials:"
echo -e " \u1b[34m⠻⣦⡈⠻⠶⣶⣶⠶⠟⢁⣴⠟" echo -e " "
echo -e " \u1b[34m⠈⠻⠷⣦⣤⣤⣴⠾⠟⠁ gitpod\u1b[0m:\u1b[34mfunkwhale" echo -e " gitpod\u1b[0m:\u1b[34mfunquail"
echo "" echo ""
ports: ports:
- name: Funkwhale - name: FunQuail
port: 8000 port: 8000
visibility: public visibility: public
onOpen: notify onOpen: notify
- name: Funkwhale API - name: FunQuail API
port: 5000 port: 5000
visibility: private visibility: private
onOpen: ignore onOpen: ignore

View file

@ -27,17 +27,17 @@ services:
- host.docker.internal:host-gateway - host.docker.internal:host-gateway
environment: environment:
- "NGINX_MAX_BODY_SIZE=100M" - "NGINX_MAX_BODY_SIZE=100M"
- "FUNKWHALE_API_IP=host.docker.internal" - "FUNQUAIL_API_IP=host.docker.internal"
- "FUNKWHALE_API_HOST=host.docker.internal" - "FUNQUAIL_API_HOST=host.docker.internal"
- "FUNKWHALE_API_PORT=5000" - "FUNQUAIL_API_PORT=5000"
- "FUNKWHALE_FRONT_IP=host.docker.internal" - "FUNQUAIL_FRONT_IP=host.docker.internal"
- "FUNKWHALE_FRONT_PORT=8080" - "FUNQUAIL_FRONT_PORT=8080"
- "FUNKWHALE_HOSTNAME=${FUNKWHALE_HOSTNAME-host.docker.internal}" - "FUNQUAIL_HOSTNAME=${FUNKWHALE_HOSTNAME-host.docker.internal}"
- "FUNKWHALE_PROTOCOL=https" - "FUNQUAIL_PROTOCOL=https"
volumes: volumes:
- ../data/media:/workspace/funkwhale/data/media:ro - ../data/media:/workspace/funquail/data/media:ro
- ../data/music:/music:ro - ../data/music:/music:ro
- ../data/staticfiles:/usr/share/nginx/html/staticfiles/:ro - ../data/staticfiles:/usr/share/nginx/html/staticfiles/:ro
- ../deploy/funkwhale_proxy.conf:/etc/nginx/funkwhale_proxy.conf:ro - ../deploy/funquail_proxy.conf:/etc/nginx/funquail_proxy.conf:ro
- ../docker/nginx/conf.dev:/etc/nginx/templates/default.conf.template:ro - ../docker/nginx/conf.dev:/etc/nginx/templates/default.conf.template:ro
- ../front:/frontend:ro - ../front:/frontend:ro

View file

@ -1,15 +1,15 @@
# Dev Environment Variables # Dev Environment Variables
DJANGO_ALLOWED_HOSTS=.funkwhale.test,localhost,nginx,0.0.0.0,127.0.0.1,.gitpod.io DJANGO_ALLOWED_HOSTS=.funquail.test,localhost,nginx,0.0.0.0,127.0.0.1,.gitpod.io
DJANGO_SETTINGS_MODULE=config.settings.local DJANGO_SETTINGS_MODULE=config.settings.local
C_FORCE_ROOT=true C_FORCE_ROOT=true
BROWSABLE_API_ENABLED=True BROWSABLE_API_ENABLED=True
FORWARDED_PROTO=http FORWARDED_PROTO=http
LDAP_ENABLED=False LDAP_ENABLED=False
FUNKWHALE_SPA_HTML_ROOT=http://localhost:8000/ FUNQUAIL_SPA_HTML_ROOT=http://localhost:8000/
FUNKWHALE_URL=http://localhost:8000/ FUNQUAIL_URL=http://localhost:8000/
MUSIC_DIRECTORY_PATH=/workspace/funkwhale/data/music MUSIC_DIRECTORY_PATH=/workspace/funquail/data/music
STATIC_ROOT=/workspace/funkwhale/data/staticfiles/ STATIC_ROOT=/workspace/funquail/data/staticfiles/
MEDIA_ROOT=/workspace/funkwhale/data/media/ MEDIA_ROOT=/workspace/funquail/data/media/
PYTHONTRACEMALLOC=0 PYTHONTRACEMALLOC=0
PYTHONDONTWRITEBYTECODE=true PYTHONDONTWRITEBYTECODE=true

View file

@ -1,8 +1,7 @@
# FunQuail
![Akiyama Mio, from K-On!](front/public/android-chrome-192x192.png) ![Akiyama Mio, from K-On!](front/public/android-chrome-192x192.png)
A platform for uploading, sharing, and publishing audio content across the federated[^1] web.\ # FunQuail
A platform for uploading, sharing, and publishing audio content across the federated web.\
Curate your music library, listen to podcasts, or create your own content and share it with the world. Curate your music library, listen to podcasts, or create your own content and share it with the world.
This project began existence as a hard-fork of [Funkwhale](https://funkwhale.audio). This project began existence as a hard-fork of [Funkwhale](https://funkwhale.audio).