about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-30 20:03:17 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-30 20:03:17 +0100
commita2a85e85491110461cbc938abd0f2687f0e51612 (patch)
tree216fa97b518035d4d52284e51803d7bbff8e8b62 /config
parent404d2050d3e96a05ec15e43f64cd24d5fca9e394 (diff)
Add capistrano to development environment
Diffstat (limited to 'config')
-rw-r--r--config/deploy.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
new file mode 100644
index 000000000..cbfb8ec9c
--- /dev/null
+++ b/config/deploy.rb
@@ -0,0 +1,11 @@
+lock '3.7.2'
+
+set :application, 'mastodon'
+set :repo_url, 'https://github.com/tootsuite/mastodon.git'
+set :branch, 'master'
+set :rbenv_type, :user
+set :rbenv_ruby, File.read('.ruby-version').strip
+set :migration_role, :app
+
+append :linked_files, '.env.production'
+append :linked_dirs, 'vendor/bundle', 'node_modules', 'public/system'