Setupdb errors
I get a series of errors when running a clean install:
- required directories are not present (db and logs): these should be created by
setupdb
(maybepubsweet new
creates them, but we can cater for projects started without that too?)
OpenError: IO error: /Users/samgalson/xpub/api/db/production/LOCK: No such file or directory
-
required
env.dev
file missing (created bypubsweet new
, but not committed). This should be missing as it holds secrets, but should be stated in README that it needs to be added. -
there is a validation problem:
info: ValidationError: child "status" fails because ["status" is required]
See also https://gitlab.coko.foundation/pubsweet/pubsweet-cli/issues/72