Skip to content

Speed up ckedit compiling time by mina #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 2, 2016

Conversation

jamesfwz
Copy link
Contributor

@jamesfwz jamesfwz commented Feb 2, 2016

Step 1: Add tmp to shared_paths
set :shared_paths, ['config/database.yml', 'log', 'tmp']
Step 2: Create tmp directory in the setup task.
task :setup => :environment do
...
queue! %[mkdir -p "#{deploy_to}/shared/tmp"]
queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/tmp"]
...
end

Step 1: Add tmp to shared_paths
set :shared_paths, ['config/database.yml', 'log', 'tmp']
Step 2: Create tmp directory in the setup task.
task :setup => :environment do
  ...
  queue! %[mkdir -p "#{deploy_to}/shared/tmp"]
  queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/tmp"]
  ...
end
@WayneTng
Copy link
Contributor

WayneTng commented Feb 2, 2016

Hi James

👍

However, what is the category it belongs to?? For example, TIL Deploy: ????

I guess...

WayneTng added a commit that referenced this pull request Feb 2, 2016
TIL Rails: Speed up ckedit compiling time by mina
@WayneTng WayneTng merged commit 2dedc71 into master Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants