Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically create data subdirectories upon first start of app #122

Open
uniqueg opened this issue Oct 30, 2019 · 0 comments
Open

Automatically create data subdirectories upon first start of app #122

uniqueg opened this issue Oct 30, 2019 · 0 comments
Labels
flag: good 1st issue Good for newcomers priority: low Low priority type: feature New feature or request workload: minutes Likely takes minutes to resolve

Comments

@uniqueg
Copy link
Member

uniqueg commented Oct 30, 2019

Describe the bug

When deploying the service, a data directory has to be mounted at /data inside several Docker containers (host directory to be mounted is defined in docker-compose.yaml. The application then needs access to three subdirectories inside that folder:

  • db
  • output
  • tmp

While the first one is automatically created upon the first start of the application, the latter two are not, leading to errors when the user wants to post a workflow run.

To Reproduce

Follow the instructions in README.md to deploy the application and send a POST request to the /runs endpoint.

Expected behavior

Non-existing required directories should be automatically generated when the application is started.

@uniqueg uniqueg removed bug labels Feb 20, 2020
@uniqueg uniqueg added flag: good 1st issue Good for newcomers priority: low Low priority type: feature New feature or request workload: minutes Likely takes minutes to resolve labels Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag: good 1st issue Good for newcomers priority: low Low priority type: feature New feature or request workload: minutes Likely takes minutes to resolve
Projects
None yet
Development

No branches or pull requests

1 participant