Update import instructions to use rake task

This commit is contained in:
Eugene Burmakin 2024-05-23 20:54:38 +02:00
parent 589c12261c
commit 3a9b2f7c84

View file

@ -10,11 +10,20 @@
<pre class="bg-gray-100 rounded-lg my-2"> <pre class="bg-gray-100 rounded-lg my-2">
<code class="language-bash"> <code class="language-bash">
$ rake import:big_file['tmp/Records.json','user@email.com'] $ bundle exec rake import:big_file['tmp/Records.json','user@email.com']
</code> </code>
</pre> </pre>
Don't forget to replace email with email address of your Dawarich user. 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:
<pre class="bg-gray-100 rounded-lg my-2">
<code class="language-bash">
$ docker exec -it dawarich_web_1 bash
</code>
</span> </span>
</div> </div>