This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I am trying to figure out the steps for the deployment and the best practices in order to move from the local environment(Linux-lampp) to production. Can someone enlight me on this subject?
thanks
Does anyone have an intelligent response to this?
Perhaps some complete words and some hyperlinks?
Last updated
Here is some hyperlink to use: https://www.google.com :-)
Grunt is task runner (http://gruntjs.com/) - you can use it for running tasks for building your app (convert less, sass files, minify images, create image spirtes, copy changes files over FTP). You can specify more environment - deploy to beta or www.
Lftp - CLI FTP client
fs-sync - library used in Grunt to manage FTP connection and transfer files
You can also use some SaaS products: codeship.com (I try it with October build 183 and works well)
Last updated
Through npm you can download and install libraries for different purpose - converting Less/Sass (for example in themes), creating minify image, create favicons (also for iPhone devices), and millions others.
By Grunt you can create some tasks, e.g. "beta_deploy" or "beta_deliver" or "compile_less" or whatever you want.
I recommend combination lftp and fs-sync (https://www.npmjs.com/package/fs-sync) to manage your deployment by FTP protocol. At first you shoud build you project (create minified CSS/JS, image sprites, clear cache, composer install, npm install, etc). In second phase you create some maintenance.html file on production. Then you copy all changes files to production, and after that you remove maintenance file.
You should build this environment at own, because everybody has own processes and requirements.
Hi guys If you are familiar with github and it is the best choice for deploying.
Personally I use DeployBot on DigitalOcean VPS instances managed with ServerPilot and have the following commands set to run after deploying via deploybot:
php artisan composer install
php artisan october:up
php artisan october:mirror public
Last updated
You asked for hyperlinks so this is the approach Leader Internet use. We actually spent a lot of time and that's the best solution we came up with. There's no commands to run and it's all automated so as soon as your push to your repo, everything starts. It's pretty seamless once set up.
1-9 of 9