Is there an easier and especially faster way than ...
# docker
b
Is there an easier and especially faster way than
docker/sdk clean && docker/sdk up
to completely empty the storage and initiate a new import of the demo data?
a
By "storage" do you mean DB? If yes -
docker/sdk demo
.
👍 1
b
Thanks, I will give it a try.
Looks promising. Saves a lot of time. Thank you!
p
docker/sdk demo
will resetup and populate the database only. It will not remove existing data from storage and search. This can be done by:
Copy code
docker/sdk console storage:delete
docker/sdk console elasticsearch:index:delete
docker/sdk console search:setup:sources
Then, you can run
docker/sdk demo
and be sure that there's no legacy data left.
👍 2
b
Sounds good
Looks like
console search:setup:sources
is also executed during
docker/sdk demo
.
p
Okay. Does it also include the other two?
b
no