Pretty simple use case. I’m building an HTML page that uses npm during build.
When I try and upload this to my S3 instance, it fails as symlinks aren’t supported.
So I spun up a node.js instance (assuming that’s what I need for node_modules) here but I have no idea how to upload my files? Can someone please point me in the right direction? I’m really new to all of this stuff.
Thanks, Matt
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thanks for the quick and helpful response Bobby.
Am I correct in saying that I need to do this first?
Bless you Bobby, you’ve just saved me hours of frustration.
Really appreciate it mate.
Hi there @MatthewBibby,
There are a couple of ways you could use to upload your files to your server:
git clone command to clone the project on your server. You can follow the steps here on how to push your project to GitHub:https://www.digitalocean.com/community/tutorials/how-to-push-an-existing-project-to-github
https://www.digitalocean.com/docs/droplets/how-to/transfer-files/
I would recommend using GitHub, that way you will have your project stored in there as well and you will be able to track your changes.
Another option would be to try out the new DigitalOcean App platform:
https://www.digitalocean.com/docs/app-platform/languages-frameworks/node/
That way you will not have to manage the servers yourself.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.