Installable Windows App like Codeanywhere?
-
@tim_g said in Installable Windows App like Codeanywhere?:
@stacksofplates said in Installable Windows App like Codeanywhere?:
I just feel it's a little inconvenient to open up PuTTY, connect to the server, 'cd' to where I want to go, open up the files in vi or nano, edit, etc, etc, etc.
It is, which is why automation is what you should be striving for. Directly editing files on systems should be as minimal as possible, unless it's a dev system that you're learning something on.
How do you automate me wanting to make a change to a page on my personal website?
I would prefer to edit directly on my web server. It's all just HTML, and it does change history. So if I f up, I can go back to the last edit.With Git and an automation tool. This is a 101 use case for automation. I don't understand how it wouldn't work?
-
@tim_g said in Installable Windows App like Codeanywhere?:
@stacksofplates said in Installable Windows App like Codeanywhere?:
I just feel it's a little inconvenient to open up PuTTY, connect to the server, 'cd' to where I want to go, open up the files in vi or nano, edit, etc, etc, etc.
It is, which is why automation is what you should be striving for. Directly editing files on systems should be as minimal as possible, unless it's a dev system that you're learning something on.
How do you automate me wanting to make a change to a page on my personal website?
I would prefer to edit directly on my web server. It's all just HTML, and it does change history. So if I f up, I can go back to the last edit.This is the bread and butter use case for normal version control systems. This is the expected common example case.
Other than it not being a personal site, this is what we use GIT for all over.
-
@stacksofplates said in Installable Windows App like Codeanywhere?:
@tim_g said in Installable Windows App like Codeanywhere?:
@stacksofplates said in Installable Windows App like Codeanywhere?:
I just feel it's a little inconvenient to open up PuTTY, connect to the server, 'cd' to where I want to go, open up the files in vi or nano, edit, etc, etc, etc.
It is, which is why automation is what you should be striving for. Directly editing files on systems should be as minimal as possible, unless it's a dev system that you're learning something on.
How do you automate me wanting to make a change to a page on my personal website?
I would prefer to edit directly on my web server. It's all just HTML, and it does change history. So if I f up, I can go back to the last edit.With Git and an automation tool. This is a 101 use case for automation. I don't understand how it wouldn't work?
So if you had a simple HTML5 website that only consists of a single index.html page, you would set up GIT on your personal computer, and try to set up gitlab on another server, and sync it to your webhost or whatever (in my case, Dreamhost)?
Sounds like a lot of work if I want to alter a sentence on my website. I really don't feel like I need version control or automation. I just need a program that connects to my webhost, that allows me to edit files as needed, that saves them back to the server. I'm looking for convenience and efficiency, not to over-complicate things and make a simple webpage edit takes hours. And I want to be able to do it on my phone, or computer, or anywhere. The paid version of Codeanywhere seems nice due to the built in "revision history". That's all I need. The free version keeps the last revision, which is good enough for my uses.
What exactly would be "automated"? I don't understand what you would automate, or what automation tool would fit in to this? How could an automation tool know what I want to edit and do it for me?
-
I'd prefer to use Atom or VS code and avoid the whole middle man thing. It doesn't seem to be the most secure way to do it. I wouldn't for business purposes.
But I don't see an alternative for Android, and couldn't figure out how to set it up in VSCode or Atom yet. I've still yet to try WinSCP and Notepad++ for Windows.
-
@tim_g said in Installable Windows App like Codeanywhere?:
@stacksofplates said in Installable Windows App like Codeanywhere?:
@tim_g said in Installable Windows App like Codeanywhere?:
@stacksofplates said in Installable Windows App like Codeanywhere?:
I just feel it's a little inconvenient to open up PuTTY, connect to the server, 'cd' to where I want to go, open up the files in vi or nano, edit, etc, etc, etc.
It is, which is why automation is what you should be striving for. Directly editing files on systems should be as minimal as possible, unless it's a dev system that you're learning something on.
How do you automate me wanting to make a change to a page on my personal website?
I would prefer to edit directly on my web server. It's all just HTML, and it does change history. So if I f up, I can go back to the last edit.With Git and an automation tool. This is a 101 use case for automation. I don't understand how it wouldn't work?
So if you had a simple HTML5 website that only consists of a single index.html page, you would set up GIT on your personal computer, and try to set up gitlab on another server, and sync it to your webhost or whatever (in my case, Dreamhost)?
Sounds like a lot of work if I want to alter a sentence on my website. I really don't feel like I need version control or automation. I just need a program that connects to my webhost, that allows me to edit files as needed, that saves them back to the server. I'm looking for convenience and efficiency, not to over-complicate things and make a simple webpage edit takes hours. And I want to be able to do it on my phone, or computer, or anywhere. The paid version of Codeanywhere seems nice due to the built in "revision history". That's all I need. The free version keeps the last revision, which is good enough for my uses.
What exactly would be "automated"? I don't understand what you would automate, or what automation tool would fit in to this? How could an automation tool know what I want to edit and do it for me?
Yes I would use Git. Because A) Version control outside of that app B) You don't have to "set up" a server for this. Just use hosted Gitlab or Github C) It can be set up to auto sync from the hosting provider D) You may have one HTML page at this point, but you will have more almost guaranteed.
Editing in VS Code, saving your commit message, and typing ctrl+p to push to the repo seems much easier than what you are doing currently.
What exactly would be "automated"? I don't understand what you would automate, or what automation tool would fit in to this? How could an automation tool know what I want to edit and do it for me?
Literally everything after you type ctrl+p. A super simple way would be have a cron job on the host that polls Git for changes and pulls them in. Or just literally use Dreamhost as your git repo.
-
@stacksofplates said in Installable Windows App like Codeanywhere?:
Editing in VS Code, saving your commit message, and typing ctrl+p to push to the repo seems much easier than what you are doing currently.
What I'm doing currently is opening up the Codeanywhere App (or website depending on what platform I'm on), then clicking on the file to edit, edit it, save. Done.
If mess up, I have the last revision available.
Honestly, that's all I need.
I really don't feel like setting up a personal Gitlab server or pay for a Github (private) account, syncing, pushing, etc all for a single index.html page.
-
@stacksofplates said in Installable Windows App like Codeanywhere?:
D) You may have one HTML page at this point, but you will have more almost guaranteed.
There will never be more than a single index.html. That's how the site works. And never a lot of content... well, no more than like 1100 lines.
If I ever change that (the template), I will want the same style (single index.html).
-
@stacksofplates said in Installable Windows App like Codeanywhere?:
@tim_g said in Installable Windows App like Codeanywhere?:
@stacksofplates said in Installable Windows App like Codeanywhere?:
@tim_g said in Installable Windows App like Codeanywhere?:
@stacksofplates said in Installable Windows App like Codeanywhere?:
I just feel it's a little inconvenient to open up PuTTY, connect to the server, 'cd' to where I want to go, open up the files in vi or nano, edit, etc, etc, etc.
It is, which is why automation is what you should be striving for. Directly editing files on systems should be as minimal as possible, unless it's a dev system that you're learning something on.
How do you automate me wanting to make a change to a page on my personal website?
I would prefer to edit directly on my web server. It's all just HTML, and it does change history. So if I f up, I can go back to the last edit.With Git and an automation tool. This is a 101 use case for automation. I don't understand how it wouldn't work?
So if you had a simple HTML5 website that only consists of a single index.html page, you would set up GIT on your personal computer, and try to set up gitlab on another server, and sync it to your webhost or whatever (in my case, Dreamhost)?
Sounds like a lot of work if I want to alter a sentence on my website. I really don't feel like I need version control or automation. I just need a program that connects to my webhost, that allows me to edit files as needed, that saves them back to the server. I'm looking for convenience and efficiency, not to over-complicate things and make a simple webpage edit takes hours. And I want to be able to do it on my phone, or computer, or anywhere. The paid version of Codeanywhere seems nice due to the built in "revision history". That's all I need. The free version keeps the last revision, which is good enough for my uses.
What exactly would be "automated"? I don't understand what you would automate, or what automation tool would fit in to this? How could an automation tool know what I want to edit and do it for me?
Yes I would use Git. Because A) Version control outside of that app B) You don't have to "set up" a server for this. Just use hosted Gitlab or Github C) It can be set up to auto sync from the hosting provider D) You may have one HTML page at this point, but you will have more almost guaranteed.
Editing in VS Code, saving your commit message, and typing ctrl+p to push to the repo seems much easier than what you are doing currently.
What exactly would be "automated"? I don't understand what you would automate, or what automation tool would fit in to this? How could an automation tool know what I want to edit and do it for me?
Literally everything after you type ctrl+p. A super simple way would be have a cron job on the host that polls Git for changes and pulls them in. Or just literally use Dreamhost as your git repo.
I just don't want to use Git for this, or anything like it.
I want something like Codeanywhere, but on my computer/phone, so I don't have a man-in-the-middle.
-
@tim_g said in Installable Windows App like Codeanywhere?:
@stacksofplates said in Installable Windows App like Codeanywhere?:
Editing in VS Code, saving your commit message, and typing ctrl+p to push to the repo seems much easier than what you are doing currently.
What I'm doing currently is opening up the Codeanywhere App (or website depending on what platform I'm on), then clicking on the file to edit, edit it, save. Done.
If mess up, I have the last revision available.
Honestly, that's all I need.
I really don't feel like setting up a personal Gitlab server or pay for a Github (private) account, syncing, pushing, etc all for a single index.html page.
Ok. I wouldn’t trust that app having access to even my shared hosting, but that’s just me.
Again, just so there isn’t any misinformation, you don’t need to set anything up. The hosted Gitlab is free for private repos.
-
@stacksofplates said in Installable Windows App like Codeanywhere?:
Again, just so there isn’t any misinformation, you don’t need to set anything up. The hosted Gitlab is free for private repos.
Oh, I didn't know that!