mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Update import instructions to use rake task
This commit is contained in:
parent
589c12261c
commit
3a9b2f7c84
1 changed files with 10 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue