Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Capistrano deploys - no remote install needed?


Reply


2 Posts   1718 Views

Avatar
Dave L

Community Member, 60 Posts

22 September 2009 at 1:00am

Edited: 22/09/2009 1:02am

Hi,

I've installed SilverStripe and DB on my local machine, and deployed the files via Capistrano to a remote server, together with a database dump from dev and restore to the remote db. Everything is working fine but I am wondering - am I missing out on anything by not running the install directly on the remote machine? I.e. special apache configs or anything? Or are remote "cold" deploys via SVN and DB to a virgin apache/php/mysql enabled server fine?

Cheers

Avatar
banal

Community Member, 901 Posts

22 September 2009 at 1:46am

I don't know what Capistrano is, but usually copying over the local files and restoring the DB is all you need to do to migrate from a local install to another server (if it's apache => apache). SilverStripe doesn't mess with apache configs (that won't work with most shared hosters anyway), it relies on the .htaccess file to configure url rewrites.
Other than that, you have to edit _config.php accordingly and run a /dev/build?flush=all after migration to be on the safe side.