Hi,
Wondered if anyone had any tips / or best practices with regards to deployment. I'd like to make updates on my local version of my site, and then have the database / any changed files automatically upload to my online server, so i don't need to ftp files / backup and transfer database files manually.
Any help would be appreciated!
Thanks,
Matt
Comments
http://support.beanstalkapp.com/customer/portal/articles/68162-what-are-beanstalk’s-deployment-tools-
They also allow for pre and post deployment "hooks" which we use to push database changes through migrations:
http://ellislab.com/codeigniter/user-guide/libraries/migration.html
This is using the 1.0 beta which has more documentation on migrations with FUEL and an example in the user guide:
https://github.com/daylightstudio/FUEL-CMS/tree/1.0
https://github.com/daylightstudio/FUEL-CMS-User-Guide-Module
For this to work, the "webhook_romote_ip" configuration parameter needs to be set to the following in your fuel/applications/config/MY_fuel.php file which are Beanstalk IP addresses.
$config['webhook_romote_ip'] = '50.31.156.48 - 50.31.156.79';
Then the hook is simply the following:
http://mysite.com/fuel/migrate/latest
With regards to Beanstalk, I'd like to play around with it, but would I then need to set up a hosting account with them? I think I'd prefer to stay with the hosting I already have, for now...and I've got all my files in an SVN repo locally - which I suppose I'd like to stay with for the time being as well, until I get the time to move files over to GIT.
Was wondering if there was any news on your synch script? Still keen to try it out!
Thanks
Matt
https://github.com/daylightstudio/FUEL-CMS-Sync-Module
http://docs.getfuelcms.com/modules/sync