docs(vm): migrations, backup and backend/.env in the VM guide #81
+147
−37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #74 .
Updating the VM after #65 showed some gaps in
docs/vm.md.backend/.envon the VM: where it is, how to find the one the running backend uses (also for the staff, withsudo), URL-encoding the password, keepingCOOKIE_SECUREoff on HTTP, and testing the connection.sudo -u postgres pg_dump),npm run db:migrate(missing before), and the backend before the frontend, since new frontend code expects the new API.me,wines) after starting, and login on the site after updating.pg_restore.server.js→src/server.tsand removed two strayProxyPasslines.Only documentation changes. Did new push to reflect change to usage of full dataset, missing some details that I am unsure of since I am not the one who made the switch to the full dataset