verifiablesoftware / vsw

Core project of VerifiableSoftware
Apache License 2.0
1 stars 0 forks source link

vsw client file location #119

Closed wenjing closed 3 years ago

wenjing commented 3 years ago

Currently, vsw client uses default locations for its wallets, config files etc. The default is ~/ We need a way to set this to a different directory that the user can choose. This is needed to allow the user to copy wallets to another machine or survive a container. The test scenario I am looking is:

In a laptop, I can map a local disk based directory to the container that will keep those files persisted. But I don't know how to do that to /home. In a public cloud, same may be easier if it is not /home.

This will allow me to test functions with pre-existing wallets. So far, all tests use brand new wallets.

wenjing commented 3 years ago

tar 3 directories: .indy_agent, vsw_logs, vsw_tools, save somewhere persistent. and copy that back when a new container starts that seems to work ok. Closing this for now.