瀏覽代碼

Precompile assets

master
Benjamin Neff 7 年之前
父節點
當前提交
5d20a64c8c
No account linked to committer's email address
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. +12
    -0
      diaspora/install.sls

+ 12
- 0
diaspora/install.sls 查看文件

@@ -130,3 +130,15 @@ diaspora_migrate_database:
- cmd: diaspora_create_database
- onchanges:
- git: diaspora_git

diaspora_precompile_assets:
cmd.run:
- name: rvm ruby-{{ diaspora.ruby_version }}@diaspora do bin/rake assets:precompile
- runas: diaspora
- cwd: {{ diaspora.install_path }}
- env:
- RAILS_ENV: {{ diaspora.environment }}
- require:
- cmd: diaspora_migrate_database
- onchanges:
- git: diaspora_git

Loading…
取消
儲存