Automatic network deployment

I'm new to this idea, but I'm just wondering if there is a way or tool to automate certain tasks before deploying my site. I would like to do the following tasks at a time:

  • minimize all used js
  • minimize CSS
  • minimize all HTML and PHP
  • create them as a copy of the files before doing so so that they do not destroy the original source
+7
source share
3 answers

There are many tools, frameworks and packages that deal with the problems you described. In general, they belong to the category of assembly automation , so you can start with this.

Minimization can be easily performed during the build process by the build server.

Deployment, however, is a huge topic in itself, and there are various tools to help you with Capistrano , apparently the most popular.

+5
source

While you're on it, take a look at my guide for writing your first Capistrano recipe:

http://guides.beanstalkapp.com/deployments/deploy-with-capistrano.html

Hope you find this helpful!

+1
source

The tasks you describe are more related to general file processing and backup tasks than to deployment. Any good scripting language (Ruby, Perl, etc.) will be used for this.

To actually automate the deployment of web applications (which may also include your file processing tasks), take a look at Capistrano:

https://github.com/capistrano/capistrano

0
source

All Articles