507
edits
(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 | 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 | cd /var/discourse | ||
./launcher enter data | |||
sudo -u postgres psql discourse | sudo -u postgres psql discourse | ||
</syntaxhighlight> | </syntaxhighlight> | ||