docs: Add note on where to put local assets
This commit is contained in:
parent
c2e1e553bf
commit
ffba090fb7
|
@ -325,6 +325,20 @@ and create an account by logging in normally, then run the commands:
|
|||
> me.admin = true
|
||||
> me.save
|
||||
|
||||
## Site localization
|
||||
|
||||
Custom assets such as images should be placed somewhere under:
|
||||
|
||||
DISCOURSE_HOME/public/
|
||||
|
||||
For example, create a `local` directory and place it into:
|
||||
|
||||
DISCOURSE_HOME/public/uploads/local/michael.png
|
||||
|
||||
The corresponding site setting is:
|
||||
|
||||
logo_small_url: /uploads/local/michael.png
|
||||
|
||||
## Updating Discourse
|
||||
|
||||
# Run these commands as the discourse user
|
||||
|
@ -340,3 +354,5 @@ and create an account by logging in normally, then run the commands:
|
|||
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake db:migrate
|
||||
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake assets:precompile
|
||||
bluepill start
|
||||
|
||||
Note that if bluepill *itself* needs to be restarted, it must be killed with `bluepill quit` and restarted with the same command that's in crontab
|
||||
|
|
Loading…
Reference in New Issue