ruby on rails - syncing folder after deploy -


Every time I'm deploying my redemption repository with the Castiestano running my files. I can see that Cassitario simulates the public directory, but there is no {root} / file directory.

I have read some articles on the internet but it can not seem to work.

Then I want to keep my files after deploying in the {APPROOT / files} directory

Many thanks for reading this.

You have two solutions:

1: Your files < / Code> Place the directory in the public / shared which is maintained by the deployment.

2: Add a task to your castrina recipe to create a symlink after each deployment:

  Tasks: create_files_symlink ,: roles = & gt; : "Ln -nfs # {shared_path} / files # {release_path} / files" end "update: 'update_code', 'create_files_symlink',    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -