Browse Source

Precompile assets

master
Benjamin Neff 7 years ago
parent
commit
5d20a64c8c
No account linked to committer's email address
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      diaspora/install.sls

+ 12
- 0
diaspora/install.sls View File

- cmd: diaspora_create_database - cmd: diaspora_create_database
- onchanges: - onchanges:
- git: diaspora_git - 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…
Cancel
Save