Auto-Update SVN on DreamHost

07,07,2010 at 19:25 2 yorum

<![CDATA[I have been using Media Temple Grid Hosting service for a long while and tried to setup my own svn repo settings there but I didnt go so far on using that. I want my online site to be updated on every commit but I understood that MT doesn’t let your site to be updated instantly. You can use cron jobs service but this service will let your web site to be updated in every 5 mins.

So the solution came up with DreamHost. You will be able to update your site instantly and also you will realize that your site will be loaded faster.

Here are the steps to set your svn repo:

1. Go to Domains>Manage Domains and create a sub-domain (or domain) for your SVN repo, create a sub-domain (or domain) for your cgi files and create a domain (or subdomain) for your live site.

svn repo: svn.geryit.net
cgi-files: cgi.geryit.net
live site: goksel.com

2. Go to Goodies>Subversion and create an SVN project.

Project Name & Project ID : gokselcom
Install to: svn.geryit.net/gokselcom
Users : user123 password123

3. Go to Goodies>Htaccess/WebDAV, select your cgi-subdomain you created before (mine is “cgi.geryit.net”), hit “Set Up A New Directory” button and create a password protected folder for your cgi files.

Directory name: : cgi.geryit.net/gokselcom
Password-protect this dir? : check
User accounts for this area: user345 password345

4. Download this rar file, extract it, edit and change the content of the cgi files according to your settings, upload them into your cgi folder (cgi.geryit.net/gokselcom) using an ftp client(I use Cuteftp) and set the CHMOD of these files(.cgi) and folder(gokselcom) to 755 (Cuteftp : Right click to folder/files and select properties).

Note: “geryit” is Dreamhost root username, you should replace your own username there.

5. Upload post-commit file into /svn/gokselcom/hooks in your remote server via ftp and set CHMOD to 755.

6. Now you can login to your repo via Tortoise Svn or some other svn clients and make your first Checkout

SVN Url: svn.geryit.net/gokselcom
user: user123
password: password123

You can visit http://wiki.dreamhost.com/Subversion for more.

]]>

Reklamlar

Entry filed under: Cool Stuff, General.

Html5 OGG&OGV Video Converter for Windows Custom Html5 Video Player with HD option

2 Yorum Add your own

  • 1. Anonim  |  27,08,2010, 21:45

    Cevapla
  • 2. Piotr  |  27,08,2010, 21:45

    This certainly made everything easier for me. Thanks for writing this up. Highly appreciated.

    Cevapla
  • 3. Anonim  |  27,08,2010, 21:45

    Cevapla

Bir Cevap Yazın

Aşağıya bilgilerinizi girin veya oturum açmak için bir simgeye tıklayın:

WordPress.com Logosu

WordPress.com hesabınızı kullanarak yorum yapıyorsunuz. Çıkış  Yap / Değiştir )

Twitter resmi

Twitter hesabınızı kullanarak yorum yapıyorsunuz. Çıkış  Yap / Değiştir )

Facebook fotoğrafı

Facebook hesabınızı kullanarak yorum yapıyorsunuz. Çıkış  Yap / Değiştir )

Google+ fotoğrafı

Google+ hesabınızı kullanarak yorum yapıyorsunuz. Çıkış  Yap / Değiştir )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Takvim

Temmuz 2010
P S Ç P C C P
« Haz   Ağu »
 1234
567891011
12131415161718
19202122232425
262728293031  

Most Recent Posts


%d blogcu bunu beğendi: