kengr: (Default)
[personal profile] kengr
I want to create a web page using software on a local box. I trhen want that page updated on my web server.

I *don't* want to have to FTP it manually every time.

any suggestions on software to do it? Currently, I'm looking at something that'll run on Win or Win XP. Long term, probably kubuntu.

Date: 2019-12-11 05:27 am (UTC)
mdlbear: blue fractal bear with text "since 2002" (Default)
From: [personal profile] mdlbear
Assuming you have ssh access to the web server, you can start by using rsync. That's a copy program that skips over files are already on the destination machine and have not been updated on the source.

The better way is to use git. Could have sworn I'd written that up somewhere, but anyway see Using Git to Manage a Live Web Site. So the workflow (after you get it set up) is
* git add file-you-changed
* git commit file-you-changed
* git push

git add tells git that you changed the file. You can add as many files or directories as you like; git will only record what changed.

git commit tells git to record the changes. You get put into an editor to say what you did.

git push sends the changes to the web server, which you set up according to the directions in the article I linked to above.

January 2026

S M T W T F S
     123
45678910
11121314 151617
18192021222324
25262728293031

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 26th, 2026 07:37 am
Powered by Dreamwidth Studios