roy_unlimited
roy_unlimited
WWasp-lang
Created by roy_unlimited on 3/30/2024 in #đŸ™‹questions
trying to run wasp.sh server on docker
Hey guys, so I tried dockerising wasp-sh after I saw it on your recent reddit post. 1. I created a docker container - docker run ubuntu - and installed dependencies incl. node, npm 2. installed wasp.sh using script, modified .bashrc with paths, create test app inside a folder in /MyApp 3. ran docker commit to save as an image 4. run my wasp.sh container docker run -dit -p 3000:3000 -v /services/wasp-sh/MyApp:/MyApp --name wasp-sh wasp-image /bin/bash It works, inside the container I now run (wasp create test) and (wasp start) and I can access my app in browser. But once I try defining some entities and query them (as in the tutorial) I get Loading... followed by "Error: AxiosError: Network" Sorry I am a noob at React and Axios, any pointers to where I messed up? Need additional ports, or is it CORS? Any logs I can hunt around in? Cheers.
20 replies