From f692e78159b919587aa678a9df9ec116a30d028f Mon Sep 17 00:00:00 2001
From: Eugene Burmakin
Date: Tue, 29 Oct 2024 11:58:09 +0100
Subject: [PATCH] Change directory used in the instructions to import
`Records.json` from Google Takeout
---
CHANGELOG.md | 1 +
app/views/imports/new.html.erb | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 96458e16..df005f4b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
+- The instruction to import `Records.json` from Google Takeout now mentions `tmp/imports` directory instead of `public/imports`. #326
- Hostname definition for Sidekiq healtcheck to solve #344. See the diff:
```diff
diff --git a/app/views/imports/new.html.erb b/app/views/imports/new.html.erb
index d791de35..089a09e2 100644
--- a/app/views/imports/new.html.erb
+++ b/app/views/imports/new.html.erb
@@ -13,7 +13,7 @@
1. Upload your Records.json file to your server
2. Copy you Records.json to the tmp folder:
-
docker cp Records.json dawarich_app:/var/app/public/imports/Records.json
+
docker cp Records.json dawarich_app:/var/app/tmp/imports/Records.json
3. Attach to the docker container:
@@ -23,7 +23,7 @@
4. Run the rake task:
-
bundle exec rake import:big_file['public/imports/Records.json','user@example.com']
+ bundle exec rake import:big_file['tmp/imports/Records.json','user@example.com']