generators/porter/templates/porter_config.yml in porter-0.1.4 vs generators/porter/templates/porter_config.yml in porter-0.1.5
- old
+ new
@@ -3,10 +3,24 @@
server:
user: deploy
domain: <%= domain %>
dir: /opt/apps/<%= app %>
+# If you want to be able to pull from different environments, and the domains,
+# usernames or directories differ, you can delete the catch-all server option
+# above and enable a config for each environment's details like this:
+#
+# production:
+# user: deploy
+# domain: <%= domain %>
+# dir: /opt/apps/<%= app %>
+#
+# staging:
+# user: deploy
+# domain: <%= domain %>
+# dir: /opt/apps/<%= app %>
+
assets:
entire_dirs: public/attachments
excludable_dir:
excludable_model:
excludable_column:
@@ -14,11 +28,11 @@
rsync_options: --verbose --progress --stats --recursive --times --compress
# Example:
#
# assets:
- # entire_dirs:
+ # entire_dirs: public/campaign public/user
# excludable_dir: public/attachments
# excludable_model: Attachment
# excludable_column: attachable_type
- # excludable_matches: NULL, Design, Item, Placement
+ # excludable_matches: Document Product
# rsync_options: --verbose --progress --stats --recursive --times --compress
\ No newline at end of file