linux - Subversion checkout in shared hosting? -


i know shared hostings don't allow svn installation.

i got question whats best way copy website repository shared hosting.

now:

my repository on other vps.

i checkout computer , copy shared hosting.

how can copy data repo hosting 1 step?

if have ssh access target webserver, give rsync , scp look:

http://en.wikipedia.org/wiki/rsync

http://en.wikipedia.org/wiki/secure_copy

i not advise installing subversion server (either svnserve or via apache) on production web server. nor advise copying, or checking out, working copy on web server. many security issues.

basically, want generate local copy of site in staging area, , rsync (or scp) production server.

you can manually, or better yet, make small "deploy site" shell script will:

  1. svn export version/tag want deploy in clean local folder.
  2. rsync folder production server.

hope helps... luck! :)


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -