I wanted to get a dev/testing environment setup on a SkySilk vps that I have. Ran into memory issues which it looks like there is no way around because it wont allow swap files. So I'm trying to just setup the dev on my laptop and use git to move everything onto the server saving me from having to use npm and composer on the vps. I keep running into issues with things like the laravel package ui. I deleted everything from the .gitignore and forced ui to be added to the repo but I'm still having issues.
What is the best way to setup a production/testing environment when you only have 512MB of ram? I don't need all the answers but any ideas will be very helpful for direction.