-
-
Notifications
You must be signed in to change notification settings - Fork 30
Add Docker Compose-based setup #339
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #339 +/- ##
=======================================
Coverage 81.17% 81.17%
=======================================
Files 111 111
Lines 2762 2762
Branches 216 216
=======================================
Hits 2242 2242
Misses 474 474
Partials 46 46 Continue to review full report at Codecov.
|
5a850f3 to
33c7133
Compare
|
Awesome!
We probably need a script that will generate some fake entries for the sake of development & testing. |
|
Can you please also add some super basic documentation? |
|
I found some permissions-related issues and am working on a fix. I'll un-draft when ready. |
|
Thanks, there is some sample data for mpstats here - we use it for performing tests. https://github.com/macports/macports-webapp/blob/main/app/tests/sample_data/submissions.json But the data needs to modified, at least the port names. |
|
This is now ready. I had to adjust the data storage strategy in order to get things working seamlessly on first run. Previously I had accidentally hit upon a strategy that only works if you manually adjust things as you go.
Thanks. If people don't mind I'd like to skip mpstats for this PR. |
I am working on an (almost) one-step dev setup powered by Docker Compose.
docker compose up -din the repo root./docker_compose_setup.sh(and wait a long time) to do the initial setupIt is almost entirely working, but I am having trouble with:
Solr search doesn't work. The config and indexing seem to work, but searches always fail with zero results. I note two seemingly related issues:During indexing, there are numerous errors likeNevertheless the data and indexes do appear to be created in the Docker volume.If I expose the Solr web console and access the logging section, the log shows the following error repeatedly. The times seem to correspond to when I perform a search in the app.Update: the Solr issues were both due to me configuring the wrong directory with
build_solr_schema. After fixing that, I find that search does work correctly.mpstatsdata, so I haven't managed to set that up yet.