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

Create a standalone Docker container with fully functional app and some synthetic data #307

Open
mojca opened this issue Jul 22, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@mojca
Copy link
Member

mojca commented Jul 22, 2021

I'm putting this idea up for discussion / brainstorming / thoughts.

If someone with little experience or little time would like to make some simple contributions to the application, it's currently somewhat non-trivial to set up and populate the database to get a demo app up and running quickly.

It seems to me that it would be extremely useful if users on any operating system could be able to quickly run a few commands (not having to bother with PostgreSQL and SOLR setup and administration on their main OS) and have the development environment ready with little effort, getting a fully functional app out of the box.

We probably overlooked the volumes functionality of Docker when we were first discussing how to set up the app two years ago:
https://docs.docker.com/storage/volumes/

(This is something that might have been useful also for the main app, but we would certainly need it for this.)

We need to do two separate things to achieve this:

  • prepare Dockerfile and documentation (most important)
  • write a python script to populate the statistics data with some random data (less important and can be done any time later)
@mojca mojca added the enhancement New feature or request label Jul 22, 2021
@amake
Copy link
Contributor

amake commented Mar 23, 2022

I set the webapp up for the first time today and I really would have appreciated a docker-compose.yml that did a one-command setup. Both Solr and Postgres have official Docker images, so it's "just" a matter of orchestrating things properly.

@arjunsalyan
Copy link
Member

Fair point, a docker-compose can simplify local setup and development to a huge extent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants