507
edits
m (test 2) |
Tag: Rollback |
||
| Line 1: | Line 1: | ||
This page gathers info about Discourse migration. | This page gathers info about Discourse migration. | ||
<br /> | <br /> | ||
| Line 7: | Line 5: | ||
<br /> | <br /> | ||
===Custom logos=== | === Custom logos === | ||
<br /> | <br /> | ||
====Main forum logo==== | ==== Main forum logo ==== | ||
[[File:Logo forum discourse (proposal).png|none|thumb|300x300px|Logo forum discourse (proposal)]] | [[File:Logo forum discourse (proposal).png|none|thumb|300x300px|Logo forum discourse (proposal)]] | ||
<br /> | <br /> | ||
====Logo to use in email notifications and mobile view==== | ==== Logo to use in email notifications and mobile view ==== | ||
[[File:Logo forum discourse (for email and mobile view).png|none|thumb|300x300px|Logo forum discourse(for email and mobile view)]] | [[File:Logo forum discourse (for email and mobile view).png|none|thumb|300x300px|Logo forum discourse(for email and mobile view)]] | ||
<br /> | <br /> | ||
=== Custom layout === | |||
===Custom layout=== | |||
| Line 36: | Line 26: | ||
Go to <code>Admin → Customize → Themes → Light → Edit CSS/HTML → Common → Header</code> and paste : | Go to <code>Admin → Customize → Themes → Light → Edit CSS/HTML → Common → Header</code> and paste : | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="HTML"> | ||
<div id="header" class="clearfix"> | <div id="header" class="clearfix"> | ||
<div id="inner-header"> | <div id="inner-header"> | ||
| Line 78: | Line 68: | ||
</div> | </div> | ||
</div> | </div> | ||
</syntaxhighlight><br /> | </syntaxhighlight><br /> | ||
====Custom Footer to add==== | ====Custom Footer to add==== | ||
| Line 339: | Line 327: | ||
} | } | ||
</syntaxhighlight><br /> | </syntaxhighlight><br /> | ||
== | ==Allow PostgreSQL to be accessed from an external application== | ||
''Useful to be able to access the database from a graphical client (like pgAdmin 4, TablePlus or Postico for example).'' | ''Useful to be able to access the database from a graphical client (like pgAdmin 4, TablePlus or Postico for example).'' | ||
| Line 348: | Line 336: | ||
./launcher rebuild app | ./launcher rebuild app | ||
3. Enter into the container, login as the default postgresql user, add a new user and grant it all perms to the database | 3. Enter into the container, login as the default postgresql user, add a new user and grant it all perms to the database | ||
./launcher enter app | ./launcher enter app | ||
sudo -u postgres psql discourse | sudo -u postgres psql discourse | ||
| Line 356: | Line 342: | ||
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO my_username; | GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO my_username; | ||
\q | \q | ||