Permalink
Browse files

updated capifony to 0.2.0

  • Loading branch information...
1 parent ddf7a6b commit b2f0d4fb9a3e93fc920dd3c044f5062764fc25cc @everzet committed Jun 5, 2010
Showing with 33 additions and 2 deletions.
  1. +7 −0 CHANGELOG
  2. +24 −0 README.md
  3. +1 −1 capifony.gemspec
  4. +1 −1 lib/capifony.rb
View
@@ -1,3 +1,10 @@
+== 0.2.0 / June 5, 2010
+
+* some fixes
+* symfony:check_configuration task
+* database move tasks
+* shared folder tasks (move to_local, move to_remote)
+
== 0.1.0 / June 3, 2010
First ever working version.
View
@@ -47,6 +47,8 @@ To deploy your application, simply run:
cap deploy
+### Deployment ###
+
To configure database on production environment, run:
cap symfony:configure:database
@@ -61,6 +63,28 @@ Now, whenever you need to deploy a new version of your code, just run:
cap deploy
+### Databases ###
+
+If you need to dump remote database & populate this dump on local machine, run:
+
+ cap database:move:to_local
+
+If you need to dump local database & populate this dump on remote server, run:
+
+ cap database:move:to_remote
+
+### Shared folders ###
+
+If you need to download some shared folders from remote server, run:
+
+ cap shared:{databases OR log OR uploads]:to_local
+
+If you need to upload some shared folders to remote server, run:
+
+ cap shared:{databases OR log OR uploads]:to_remote
+
+### Other tasks ###
+
If you need to deploy and run your migrations you can call:
cap deploy:migrations
View
@@ -1,7 +1,7 @@
Gem::Specification.new do |spec|
spec.name = 'capifony'
- spec.version = '0.1.0'
+ spec.version = '0.2.0'
spec.platform = Gem::Platform::RUBY
spec.description = <<-DESC
Capistrano is an open source tool for running scripts on multiple servers. It’s primary use is for easily deploying applications. While it was built specifically for deploying Rails apps, it’s pretty simple to customize it to deploy other types of applications. This package is a deployment “recipe” to work with symfony PHP applications.
View
@@ -266,7 +266,7 @@ def load_database_config(data, env = 'prod')
end
namespace :shared do
- namespace :database do
+ namespace :databases do
desc "Download config/databases.yml from remote server"
task :to_local do
download("#{shared_path}/config/databases.yml", "config/databases.yml", :via => :scp)

0 comments on commit b2f0d4f

Please sign in to comment.