User:Jtraulle/DiscourseMigration: Difference between revisions

Jump to navigation Jump to search
(typo)
Tag: 2017 source edit
Tag: 2017 source edit
Line 933: Line 933:
2. Rebuild the container to take into account modifications to '''<code>app.yml</code>''' :
2. Rebuild the container to take into account modifications to '''<code>app.yml</code>''' :
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
  ./launcher rebuild app
cd /var/discourse
  ./launcher rebuild data
</syntaxhighlight>
</syntaxhighlight>
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
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
  ./launcher enter app
cd /var/discourse
  ./launcher enter data
  sudo -u postgres psql discourse
  sudo -u postgres psql discourse
</syntaxhighlight>
</syntaxhighlight>

Navigation menu