jplew / SyncDB

Bash script meant to take the tedium out of deploying and updating database-driven (eg Wordpress) websites. It rapidly synchronizes local and remote versions of a MySQL database, performs the necessary search and replace queries, then synchronizes all your uploads/binaries.
MIT License
234 stars 41 forks source link

r_web_dir shouldn't assume ~ home folder will be used #16

Closed attackant closed 9 years ago

attackant commented 9 years ago

I am trying to deploy to a folder outside of my SSH users home directory:

/var/www/mysite.com/public_html

This script seems to only work if the target folder in side the user's home folder. Is that correct or am I missing something?

Why not simply allow the user to choose the full path to the deployment folder?

henscu commented 9 years ago

I think jplew is busy on other stuff... If so, perhaps we should make these changes and submit a pull request...

attackant commented 9 years ago

This has already been done: https://github.com/ericstroo/SyncDB

Jplew can either merge it or not.

henscu commented 9 years ago

Great, thanks for letting me know!