mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	Doc
This commit is contained in:
		
							parent
							
								
									42e5b3da25
								
							
						
					
					
						commit
						70d02a95c1
					
				@ -10,6 +10,7 @@ and run tasks for that freshly deployed code.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Can you give me some examples/ideas? ###
 | 
					### Can you give me some examples/ideas? ###
 | 
				
			||||||
**Sure!**
 | 
					**Sure!**
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Suppose you have a checkout of your app and you have to deploy it to four servers;
 | 
					Suppose you have a checkout of your app and you have to deploy it to four servers;
 | 
				
			||||||
and after each deploy you have to run some boring tasks, like fixing file permissions, creating symlinks, etc.
 | 
					and after each deploy you have to run some boring tasks, like fixing file permissions, creating symlinks, etc.
 | 
				
			||||||
You can define all this on Magallanes and with *just one command* you can do all this at once!
 | 
					You can define all this on Magallanes and with *just one command* you can do all this at once!
 | 
				
			||||||
@ -21,13 +22,14 @@ $ mage deploy to:production
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### What's this sorcery?! ###
 | 
					### What's this sorcery?! ###
 | 
				
			||||||
Easy boy. It's not sorcery, just some *technomagick*!
 | 
					Easy boy. It's not sorcery, just some *technomagick*!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
In Magallanes you define environments like *testing*, *staging*, or *production* like on the example above.
 | 
					In Magallanes you define environments like *testing*, *staging*, or *production* like on the example above.
 | 
				
			||||||
Then, on that environment you can configure a set up specifing to which hosts you want to deploy and what tasks to run (*after*, *on*, and *before* deploying).
 | 
					Then, on that environment you can configure a set up specifing to which hosts you want to deploy and what tasks to run (*after*, *on*, and *before* deploying).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### And what spells... TASKS! What tasks has it built in? ###
 | 
					### And what spells... TASKS! What tasks has it built in? ###
 | 
				
			||||||
Just a few, for now...
 | 
					Just a few, for now...
 | 
				
			||||||
*   **deployment/rsync**  - This task is for deploying your code to the remote servers.
 | 
					  *   **deployment/rsync**  - This task is for deploying your code to the remote servers.
 | 
				
			||||||
*   **scm/update**        - This task is for updating (git/svn) your base wokring copy.
 | 
					  *   **scm/update**        - This task is for updating (git/svn) your base wokring copy.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
But! You can create your own taks, and execute commands on your working copy and in your deployed code!
 | 
					But! You can create your own taks, and execute commands on your working copy and in your deployed code!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -35,4 +37,4 @@ But! You can create your own taks, and execute commands on your working copy and
 | 
				
			|||||||
You can read the whole source code (naaah!); or checkout the wiki at: http://magallanes.zenreworks.com/wiki
 | 
					You can read the whole source code (naaah!); or checkout the wiki at: http://magallanes.zenreworks.com/wiki
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Enjoy your magic trip with **Magallanes* to the land of the easily deployable apps!!
 | 
					Enjoy your magic trip with **Magallanes** to the land of the easily deployable apps!!
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user