hi
ive been trying to migrate but everywhere ive tried doesnt work with my workflow. here’s what i did on glitch:
So first i do all my coding on my coding phone then have a button that combines all the pages and i send it over bluetooth to my internet phone.
So i had a fileupload in html on a page and would then upload the file.
The server would receive it, unpack it back in to a bunch of different files (really strings at this point), and fs.writefile each of them to overwrite the previous files that made up the server.
then i would refresh and go back to my site and it would be all updated.
render and railway arent letting me fs.writeFile correctly and Kamatera isnt accepting my payment info. any ideas for places that would work with fs.writeFile?
sounds like a virtual machine hosted somewhere like Digital Ocean is the best bet - I have a few projects that need to write to the disk too, and I think I’m going to use one of their nodejs-ready droplets
this is what I’ve landed on as well, for what it’s worth. DigitalOcean also has the ability to mount additional disk space to the OS beyond their base size. Render should be able to support this as well, just not in the default filesystem-- you have to enable (and pay for) their Persistent Disks feature, I just went with DO since I’ve been a customer of theirs for some other work for quite some time.
I’m using Digital Ocean’s VPS droplets, which are basically “you get a virtual computer and then you get to install your own OS and and package you need, and then you need to stay on top of keeping it up to date yourself” but there were enough guides on the web for me to make that worth my time: $4/mo and some nginx means I can host as many “it’s just some web content” projects as I want on a single droplet… although it’s definitely more work than just “pick a build pack and upload your files”, so that’s probably not a workable solution for everyone.