大网数据广告活动
网站运营与故障问答

Is it possible to host my website on digitalocean.com without having to push my project on github?

· 52CE 我爱测

It's been four days now that i have been trying to host my first web project on digitalocean.com, the project size is about 4GB and I'm having a very difficult time trying to get it on github.com, which I really don't why it keep…

问题原文

原帖链接 · Godda · CC BY-SA 4.0

It's been four days now that i have been trying to host my first web project on digitalocean.com, the project size is about 4GB and I'm having a very difficult time trying to get it on github.com, which I really don't why it keeps throwing this exception "the remote end hung up unexpectedly" when every i try to push the project to my account. i have try some solutions that i fund on stack like git gc --aggressive which it copy all the files without any errors, but it doesn't show in my repo! so i was hoping if there's a way to just upload all the project files straight on digitalocean.com without having to us GitHub. I'm novice when it comes to hosting a website, and just very confuse with the dashboard on digital ocean. Is there any alternative in uploading my project on digital ocean without using GitHub, like uploading from my desktop?

this the error i get when i try to push the project to GitHub with the command git push -u origin main .

if i user this command (git gc --aggressive) i don't get the error but the file are no where to found in my repo !

my dashboard on digitalocean.com

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 4.0

A droplet is a virtual machine hosted at Digitalocean. You shouldn't need to push code through Github to connect to it. Digitalocean has instructions for ssh access to a droplet.

With ssh access, you could transfer files directly using scp or you could install other software to accept files such as a FTP server.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2022-04-08)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。