We should make /data not hard-coded. The code right now assumes that you're running in a docker container, unless you have a .env file. We should make the code fail if the work-dir is not available (or ask if you want to make it).
The older code always made a work dir in the cwd and it was painful to launch and then start the download if you accidentally were in the wrong directory.
We should make /data not hard-coded. The code right now assumes that you're running in a docker container, unless you have a .env file. We should make the code fail if the work-dir is not available (or ask if you want to make it).
https://github.com/mieweb/wikiGDrive/blame/ede6dea55946cebc41ad26de1e4d94aaccd612b6/src/cli/wikigdrive-server.ts#L64
The older code always made a work dir in the cwd and it was painful to launch and then start the download if you accidentally were in the wrong directory.