Skip to content

Commit ffba090

Browse files
committed
docs: Add note on where to put local assets
1 parent c2e1e55 commit ffba090

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docs/INSTALL-ubuntu.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,20 @@ and create an account by logging in normally, then run the commands:
325325
> me.admin = true
326326
> me.save
327327

328+
## Site localization
329+
330+
Custom assets such as images should be placed somewhere under:
331+
332+
DISCOURSE_HOME/public/
333+
334+
For example, create a `local` directory and place it into:
335+
336+
DISCOURSE_HOME/public/uploads/local/michael.png
337+
338+
The corresponding site setting is:
339+
340+
logo_small_url: /uploads/local/michael.png
341+
328342
## Updating Discourse
329343

330344
# Run these commands as the discourse user
@@ -340,3 +354,5 @@ and create an account by logging in normally, then run the commands:
340354
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake db:migrate
341355
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake assets:precompile
342356
bluepill start
357+
358+
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

0 commit comments

Comments
 (0)