Documentation on assets precompilation

This commit is contained in:
echarp 2016-06-25 17:20:45 +02:00
parent 672e767d96
commit f2105006ef

View File

@ -72,6 +72,11 @@ w = 0
Event.create(elt.attributes.merge( { start_time: elt.start_time+w.week, end_time: elt.end_time+w.week } )).start_time; w = 1 Event.create(elt.attributes.merge( { start_time: elt.start_time+w.week, end_time: elt.end_time+w.week } )).start_time; w = 1
}}} }}}
Commande à utiliser pour précompiler les assets avant leur déploiement dans un environnement de production
{{{
bundle exec rake assets:precompile RAILS_ENV=assets
}}}
=== Discussions === Discussions
https://kiwiirc.com/client/irc.freenode.net/agendadulibre https://kiwiirc.com/client/irc.freenode.net/agendadulibre
@ -84,4 +89,4 @@ https://kiwiirc.com/client/irc.freenode.net/agendadulibre
\ / \ / \ / \ / \ / \ /
. \_|_/ . . \_|_/ .
\ | / \ | /
}}} }}}