I'm trying to set-up the basic Open SaaS Wasp application on Digital Ocean. I was able to get it running locally without any issues.
I got the base version running from the "Getting Started" page locally. Saved that app on GitHub. Now I want to use the GitHub repo as a source for a Digital Ocean App Platform.
I've tried many different options, but the best setup I have so far is as follows:
Environment Variable:
PATH=$PATH:/home/apps/.local/bin
PATH=$PATH:/home/apps/.local/bin
Build Command:
curl -sSL https://get.wasp-lang.dev/installer.sh | sh
curl -sSL https://get.wasp-lang.dev/installer.sh | sh
When I add
wasp start db
wasp start db
to the build command, it says the docker exe cannot be found. When I add it to the run command, it throws the errors below.
Errors:
[2025-03-11 00:47:19] /layers/heroku_nodejs/profile/profile.d/WEB_CONCURRENCY.sh: line 35: cat: command not found[2025-03-11 00:47:19] /layers/heroku_nodejs/profile/profile.d/WEB_CONCURRENCY.sh: line 35: / 1048576: syntax error: operand expected (error token is "/ 1048576")[2025-03-11 00:47:20] /layers/heroku_nodejs/profile/profile.d/cnb_shim_symlink.sh: line 1: readlink: command not found[2025-03-11 00:47:20] /layers/heroku_nodejs/profile/profile.d/cnb_shim_symlink.sh: line 1: readlink: command not found[2025-03-11 00:47:20] /cnb/lifecycle/launcher: line 4: exec: bash: not found
[2025-03-11 00:47:19] /layers/heroku_nodejs/profile/profile.d/WEB_CONCURRENCY.sh: line 35: cat: command not found[2025-03-11 00:47:19] /layers/heroku_nodejs/profile/profile.d/WEB_CONCURRENCY.sh: line 35: / 1048576: syntax error: operand expected (error token is "/ 1048576")[2025-03-11 00:47:20] /layers/heroku_nodejs/profile/profile.d/cnb_shim_symlink.sh: line 1: readlink: command not found[2025-03-11 00:47:20] /layers/heroku_nodejs/profile/profile.d/cnb_shim_symlink.sh: line 1: readlink: command not found[2025-03-11 00:47:20] /cnb/lifecycle/launcher: line 4: exec: bash: not found