|
|
|
Ask HN: Now that my site is live, how do I make changes to the source code?
|
|
1 points
by crowdguy
4469 days ago
|
|
As a newbie web programmer, I've been editing the source files directly through an SSH connection. Now that the site has traffic, I'm not sure how to make new updates and furthermore test new features that are guaranteed to be broken upon their release. Am I supposed to be using some form of revision control system, or is this a game of hidden subfolders and permissions? Thanks |
|
1) Use git. Go create an account on github and use that. If you don't know how to use git, there's a tutorial at http://try.github.io/
2) Do all of your development on your local machine. That means that your local machine should be able to run your site.
3) Try to make your deployment process as simple as possible. Since it sounds like your site is small, you can probably get away with pulling the new code and restarting your web server. Total downtime should only be a few seconds. You can make it more complex as you get your feet under you.