User:Jtraulle/DiscourseMigration: Difference between revisions

Jump to navigation Jump to search
m
Reverted edits by Arre (talk) to last revision by Jtraulle
m (test 2)
m (Reverted edits by Arre (talk) to last revision by Jtraulle)
Tag: Rollback
Line 1: Line 1:
This page gathers info about Discourse migration.
This page gathers info about Discourse migration.
Test


<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)]]
'''Logo to use ... whatever'''
[[File:Test1.png|left|thumb|non responsive, not appropriated]]
<br />
<br />


 
=== Custom layout ===
 
<br />
===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="html">
<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>
// to be continued
</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''==
==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
test ajout de ligne
  ./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
'''test liste'''
# numéro 1
# numéro 10
# numéro 11

Navigation menu