-
Notifications
You must be signed in to change notification settings - Fork 13
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
Doesn't work out of the box #14
Comments
Since this works perfectly on my own machine, it could be a problem of your machine. Could it be that the postgres port is already in use? Please post the output of |
Thanks, I figured this one out now, I indeed had Postgres running already. I now upped it one number in both the docker-compose Now I get another stacktrace, about the sanitizer module:
I'll see if I can find the solution to this issue. |
Trying to trace the root of the issue, it seems that
It seems a version update like tanzquotient/website@718a92a is needed. |
Please pull and rebuild the image, since this issue is already solved by a61ab6a |
Still issues here. The 5 second sleep was not long enough on my Macbook. I assume Docker4Mac is resulting in a performance penalty. Lengthening the sleep to 10s helps. A neater solution would be to add the commonly used Unfortunately the Django container is stopping directly, so that the latter commands will not execute:
I have reverted the previous Makefile version and added the needed sleep fixes. Than I'm back to square one, despite the updated
Going back to the latest state, I tried to keep the container running. Normally when running a Docker container I would at the
(in all of this I did reintroduce my Postgres port remap, including for the psql command). Maybe I'll ditch the Docker hassle altogether and just try running it natively. |
Alright, got it working natively. I was first presented with some error on the backend because the |
The Docker issue still stands for me. Without Docker it is working fine now. I've already done a rough translation to Dutch, and I have some small improvements in mind. Expect a PR soon. |
I just pushed my attempt to fix Docker on my fork/clone: nicorikken@7576a0a |
After the initial boot, doing the steps to compile and migrate the messages did result in a Dutch feature on the website. |
I tried to fix this as generically as I could. The docker containers are now using If you map your DB to another port, pass Also I forgot to mention how to configure the DB cleaner with an I was able to fix the translation issue by fixing a wrong migration (see 8e507d9). You can import politicians with a custom management command. E.g
User, party and state have to exist in the DB in order to import the politician. The problem you had with the non-existing startpage is, because you need to add it first, since it is a page of the CMS. You can add the "Home" site at this URL. Thanks for your effort! I hope everything works as expected. Otherwise, let me know! |
Thanks for picking up on this. Nice improvements and I like the hints on the |
There is a The
|
I've now seen the importing tools in |
Most of the issues here have been addressed, so I'll close this issue. |
Reading the readme, trying to get the Docker setup to run, I was presented with the following error:
I tried running the
docker-compose up
directy, but after building the application, it too fails on the db:I guess the db Docker image has changed. I'll look into it. But if somebody now the fix by heart, please let me know.
The text was updated successfully, but these errors were encountered: