Introduction
This How-to describes the possibility to export data changes in our application OFFER (like created offers, articles, text modules and templates) from a gitpod workspace to the repository. By default this changes are not exported.
Only changes from the OFFER database will be considered.
How-to
- Make some data changes (e.g. to an offer or an product) or create new records within the application in the OFFER-UI
- In the Gitpod workspace press
ctrl-shift-p
, then selectTasks: Run Task
- Select
dump database
- Following message is shown in the terminal
* Executing task: /bin/bash /workspace/allianzdirect/src/backend/DB/offerdb/dump.sh
WARNING. Using -cpinternal UTF-8 is not supported for TTY clients. You may corrupt files or databases. (11994)
Press space bar to continue.
- Select the terminal and press
Space
to continue - The dump will then run
- In the terminal window is a message saying
Terminal will be reused by tasks, press any key to close it.
- Press any key
- Wait some seconds, all changes found will be rechecked (so that changed timestamps will not be considered)
- The source control menu shows all the changed .d files. You can stage them and commit them to a branch