Devika is an Agentic AI Software Engineer that can understand high-level human instructions, break them down into steps, research relevant information, and write code to achieve the given objective. Devika aims to be a competitive open-source alternative to Devin by Cognition AI.
Seems like the instructions are more for non-docker users.
docker compose build
docker compose up -d
Then I go to my local ip: 192.XXX.XX.X
It says it can't connect to the server.
My Inspect pallette in my browser tells me that the problem is because of something called "The Same Origin Policy"
Some digging on Github/forums tells me that this happens when the request-IP is not on the whitelist for CORs. So I updated. I tried a couple of times and then eventually gave up and put the wildcard as the last option just to get something.
Still not working. Now I'm getting errors for trying to reach the front end.
Now it says: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:1337/api/data.
How To Reproduce
Steps to reproduce the behavior (example):
clone
build
docker compose up
Expected behavior
A clear and concise description of what you expected to happen.
Describe your issue
Seems like the instructions are more for non-docker users.
Then I go to my local ip: 192.XXX.XX.X It says it can't connect to the server.
My Inspect pallette in my browser tells me that the problem is because of something called "The Same Origin Policy"
Some digging on Github/forums tells me that this happens when the request-IP is not on the whitelist for CORs. So I updated. I tried a couple of times and then eventually gave up and put the wildcard as the last option just to get something.
29 CORS(app, resources={r"/": {"origins": # Change the origin to your frontend URL 30 [ 31 "https://localhost:3000", 32 "http://192.XXX.XX.XX:3000", 33 "https://192.XXX.XX.XX:3000", 34 "http://localhost:3000", 35 "https://sub.mydomain.com/", 36 "http://192.XXX.XX.XX:1337", 37 "https://192.XXX.XX.XX:1337", 38 "" 39 ]}})
Still not working. Now I'm getting errors for trying to reach the front end. Now it says: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:1337/api/data.
How To Reproduce
Steps to reproduce the behavior (example):
Expected behavior
A clear and concise description of what you expected to happen.
Configuration