owid-grapher
owid-grapher copied to clipboard
Refresh local env with VSCode tasks
Resolves #1381.
This adds local refresh tasks for wordpress (db & uploads) and grapher (db).
The refresh tasks can be run through VSCode:
- cmd + shift + p > "Tasks: Run Task"
- "refresh grapher" or "refresh wordpress".
In their default mode, the tasks download all assets (db dumps and wordpress uploads) and refresh all tables.
Check the comments in .vscode/tasks.json for additional usage scenarios.