From 68b1423ed913e74276532cbddbdef45a191de592 Mon Sep 17 00:00:00 2001 From: Marc Doerflinger Date: Mon, 17 Jun 2024 19:50:25 +0000 Subject: [PATCH] docs --- .dockerignore | 1 + .gitignore | 3 ++- README.md | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index e18e0890..d7d23ade 100644 --- a/.dockerignore +++ b/.dockerignore @@ -13,3 +13,4 @@ docker-compose* /tmp /env.* .DS_Store +*.dump \ No newline at end of file diff --git a/.gitignore b/.gitignore index 09a1b63f..bd6274cd 100644 --- a/.gitignore +++ b/.gitignore @@ -45,7 +45,8 @@ yarn-debug.log* yarn-debug.log* .yarn-integrity -/*.sql +*.sql +*.dump .env.local /app/assets/builds/* diff --git a/README.md b/README.md index 4f73cbd8..52b66551 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ rake db:create rake db:migrate ``` +Restore dump + +``` +pg_restore -d reeper_development -h db -Upostgres file.dump +``` + ### AWS credentials Create `.env.local` file with AWS credentials