Curated list of exercises in local wger instance (not synced w/ wger.de) #1731
-
The list of exercises (and ingredients) on the wger.de instance is incredibly long, of varying quality, and a lot of duplicates exist, sometimes without even English translation. Therefore, on my own instance, I'd like to create a curated list of exercises so I do not have to search through the list of existing exercises. I might transfer some of the existing ones, but I could recreate them on my instance. What would be the correct way to delete all existing exercises and disable synchronization with wger.de? Context: I'm using the docker image and have set the environment variables
in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! You will need to empty the exercise table in the database, there are some local fixtures with data that always gets loaded. Just do
|
Beta Was this translation helpful? Give feedback.
Hi! You will need to empty the exercise table in the database, there are some local fixtures with data that always gets loaded. Just do
docker compose exec db psql -U wger wger -c "DELETE FROM exercises_alias; DELETE FROM exercises_exercisecomment; DELETE FROM exercises_exercise; DELETE FROM exercises_exercisebase_equipment;DELETE FROM exercises_exercisebase;"
and add your own