Wednesday, September 30, 2009

Checkout my app

I want an easy way to checkout and update my app. Here is how I did it. On my intranet server, I ran the following command:

ssh -R 2401:localhost:2401 user@myServer.com

This does an ssh login to my external server ( which I will call myServer.com ) and sets up a reverse tunnel. Then, I can check out my app from my intranet server through the reverse tunnel from my ssh session on my external server. Which I did as follows:

227 cd /usr/local/share
232 sudo mkdir myApp
234 cd myApp
236 sudo cvs -d :pserver:user@localhost:/var/cvsroot login
237 sudo cvs -d :pserver:user@localhost:/var/cvsroot co myApp
241 sudo cvs -d :pserver:user@localhost:/var/cvsroot up -d


In the future, I just have to do like line 241 to update my app.

Next, setting up apache and my certificates.

No comments:

Post a Comment