From 3a9b2f7c84e937d9fe4b05d33e40072da6d9667f Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Thu, 23 May 2024 20:54:38 +0200 Subject: [PATCH] Update import instructions to use rake task --- app/views/imports/new.html.erb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/views/imports/new.html.erb b/app/views/imports/new.html.erb index d489a747..dbd4d3b9 100644 --- a/app/views/imports/new.html.erb +++ b/app/views/imports/new.html.erb @@ -10,11 +10,20 @@
         
-          $ rake import:big_file['tmp/Records.json','user@email.com']
+          $ bundle exec rake import:big_file['tmp/Records.json','user@email.com']
         
       
Don't forget to replace email with email address of your Dawarich user. + + The command must be ran in your docker container, so you need to connect to it first: + +
+        
+          $ docker exec -it dawarich_web_1 bash
+        
+
+