Hey guys. First of all, I must say that I am loving the framework.
I was following the tutorial in the docs, then, I wanted to test if I could deploy the project to a vps on digital ocean, so, I started to follow the baremetal deploy guide in the docs, but I got some problems in the process.
First, when I tried to run “yarn rw deploy baremetal --first-run”, It got stuck in the “Building web” step. In the VPS, it got jammed there. Then, in the next attempts, it just quits the script execution without any feedback:
Running locally it failed, but did not returned any error:
Then, I tried to execute manually the command “yarn rw build web” (running locally):
When I try to run in the vps:
Going forward, then when I try to execute “yarn pm2 start [service]” (running locally):
I am doing something wrong? I believe I’ve followed all steps listed in the documentation, but I don’t know if I am missing something.
By the way, the code I am trying to deploy, if someone wanna give a look (this is just the guide code, with a docker-compose file for the postgresql database. About the database, It was running before I tried the deploy script):