docs(deploy): last inn stort datasett i databasen på VM-en #48
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.
Endringer
docs/vm-backend.mdfor å laste inn datasettet på VM-en: backup,migrate,seed:large, kontroll av database og GraphQL, og hvordan endringen kan angres.docs/vm-backend.mder oppdatert med det som er verifisert på VM-en.Hvorfor
Databasen på VM-en hadde bare 10 annonser. Med datasettet fra #39 har backenden på VM-en nok data til å vise at søk, filtrering, sortering og paginering skalerer.
Utført på VM-en
pg_dumpfør endringenenpm run migratela tilcreated_at, ogpgmigrationshar to radernpm run seed:largesatte inn 10 000 annonser på 0,4 s, totalt 10 010healthgirok, oglisting(id: "gen-000001")gir «Båndsliper med støvpose»Issue
Closes #41