Closed boydingham closed 1 year ago
Thanks for raising the issue.
I don't think any of us run windows either so might be tricky to fix I'm afraid. Can I ask why you need to run the prisoner offender search in intellij? Does docker-compose up work or doesn't that work either?
Thank you for your reply @petergphillips.
"...Does docker-compose up work or doesn't that work either?..."
Yes sir. That is correct. In "Current Behavior" above, I report...
"...The system fails to run when—following verbatim—the usage instructions in the "Running" section of the README..."
...Where "verbatim" means, first I followed these instructions...
... Running all services locally:
docker-compose up
...
...And "The system fails to run". Then second I followed these instructions...
... Running all services except this application (hence allowing you to run this in the IDE))
docker-compose up --scale prisoner-offender-search=0
...and "The system fails to run".
...
I just need to call this project somehow.
--
"...why you need to run the prisoner offender search in intellij?..."
I don't "need to run the prisoner offender search in intellij", sir.
I'm not doing any development per se on this project. That is, no code changes, no fixes, etc.
The non-DPS project that I am developing, consumes the resources (endpoints) of this project. Therefore, it would be ideal to be able to run this project locally as I develop my non-DPS project.
However, I presume that if I was provided with adequate instructions from DPS (or whoever), then I could do my development by consuming the remote dev deployment of this project.
Whether local deployment of this project is possible from the docker-compose
command or from within an IDE—or even if my non-DPS application must call your remote dev deployment—I can be flexible.
Thanks for your pgp-DT-1949-update-localstack branch @petergphillips,
The localstack
service now starts up OK on Windows...
...But the prisoner-offenders-search
service is still failing to start. It fails with the same exception originally reported...
As I mentioned in slack to you, you need to wait for
Running on http://0.0.0.0:4571
output from localstack before starting prisoner offender search. The README now also contains more detailed instructions on starting up prisoner offender search and provides two options depending on whether you want prisoner offender search to be within docker too or not.
Thank you @petergphillips,
"...mentioned in slack to you, you need to wait for..."
My Slack availability is limited. I plan to login to your channel later this afternoon though.
Also, since this is a public open source project in a public repo, then is it fair to presume that there is some value in publicly sharing whatever solutions are discovered?
By "sharing" I mean with potential non-DPS consumers of this project —other than myself—that might run into the same issue in the future.
closing old issues
Expected Behavior
Following, step by step, the usage instructions in the "Running" section of the README, attempting to run the system locally should just work; without any need to edit anything.
Current Behavior
The system fails to run when—following verbatim—the usage instructions in the "Running" section of the README (full stack trace)...
Context
I am an external developer of a non-DPS system. My system is specified to consume API endpoints exposed by this project.
Being able to run, test and integrate my system with a local deployment of this project, would...
Steps to Reproduce
Your Environment