Hello everyone ,
I’m seeking assistance with an issue I’m encountering while making backend changes. Despite my efforts, the changes aren’t reflecting as expected. Any guidance or support would be greatly appreciated. Thank you.
Hello everyone ,
I’m seeking assistance with an issue I’m encountering while making backend changes. Despite my efforts, the changes aren’t reflecting as expected. Any guidance or support would be greatly appreciated. Thank you.
Hi @ravi . if you are making any changes in the backend Java Source code then you should follow these steps for changes to reflect
mvn clean install -DskipTests
docker-compose -f dev.docker-compose.yml up -d --no-deps --force-recreate oe.openelis.org
I strongly recommend you to go through the readme file its clearly mentioned over there!
hii @Manish thanks for the help , and i am extremely sorry , actually i am new to open source and will surely go through the readme
Hey @ravi , no worries at all! Everyone starts somewhere. It’s awesome that you’re diving into open source. Taking a look at the readme is a great idea. Let me know if you need any help along the way. Happy coding!
Ideally, when you need assistance or need help its important to know this checklist for an awesome and good question;
What is the problem you are encountering
What steps have you taken to solve it(or any resources you have used)
Share the error(logs)/blocker you have encounterd if any ( you can use tools like pastebin.com)
…
Just wanted to ask while recreating Openelis-webapp container should I stop the other containers entirely and then use the command or just stop the webapp container and then run the command while not stopping other containers.
Hey @Prajjwal_Kohli better stop all the containers and recreate the openelis-webapp container and give all containers a fresh start. Because [openelis-webapp container] is main backed operations heavy container.
Hey @Prajjwal_Kohli I think better will be to stop other containers otherwise it may show error that port is already occupied. I have faced this issue. So i’ll suggest to just stop other containers then re-create Openelis-webapp container.
Are there still issues here running the webapp in docker ??
@Moses_Mutesasira Yes, earlier it was running fine, but today i am having issues in running the webapp, how can i do it?
How are you running it and can you paste the error in pastebin and share the link
did you see these instructions ??
Yes, i have followed the instructions as mentioned, at localhost it is saying not authenticated
The OpenELIS backend service is not running ,
what does docker ps
return ??
Can you share your logs ??
docker logs openelisglobal-webapp
Can you try these steps
docker-compose -f dev.docker-compose.yml down -v
docker system prune --volume
docker-compose -f dev.docker-compose.yml up -d --no-deps --force-recreate oe.openelis.org