Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you update your web application on the server?

I am aware of Capistrano but it is a bit too heavyweight for me. Personally I set up two Mercurial repositories, one on the production server and another on my local dev machine. Regularly, when a new feature is ready, I push changes from repository on my local machine to repository on the server, then update on the server. This is pretty simple and quick way to keep files in sync on several computers, but does not help to update database.

What is your solution to the problem?

like image 515
caustic Avatar asked Sep 01 '08 12:09

caustic


People also ask

How do I update my Web app?

Use the Android task manager to shut down the PWA, then use the App panel in Android settings to force stop the PWA. In Chrome, open about://webapks and click the "Update" button for the PWA. "Update Status" should change to "Pending". Launch the PWA, and verify it's loaded properly.

How Web application runs on a server?

How do web applications work? A typical web application workflow looks like the following: A user sends a request to a web server via the internet, using either a web browser or the user interface of an app. The request is forwarded by the webserver to the corresponding web application server.


1 Answers

I used to use git push to publish to my web server but lately I've just been using rsync. I try to make my site as agnostic about where it's running as possible (using relative paths, etc) and so far it's worked pretty well. The only challenge is keeping databases in sync, and for that I usually use the production database as the master and make regular backups and imports into my testing database.

like image 158
Kyle Cronin Avatar answered Oct 02 '22 01:10

Kyle Cronin