How to update to latest version? #141
-
Dear developers, I am new in this and have successfully build and run mre after multiple tries 3 weeks ago. May I know what is the correct step to update the app? Does updating the app affect the current data which are already there? I am hoping to be able to update the app without losing data. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
./mre dumpdb This will create a timestamp dump file in the Then copy the dump file and .env file in a safe directory (outside of the repository folder)
./mre stop Pull the latest source files git pull
./mre build
./mre start The app should be updated without any data loss
|
Beta Was this translation helpful? Give feedback.
In the folder of the repository run this command when the app is running
This will create a timestamp dump file in the
backup
folderThen copy the dump file and .env file in a safe directory (outside of the repository folder)
Stop the application
Pull the latest source files
The app should be updated without any data loss