Deployed 0ed4248 with MkDocs version: 1.1.2

This commit is contained in:
winkidney
2021-03-06 21:51:18 +08:00
parent 1ddb2fd45a
commit a18cd0f917
3 changed files with 50 additions and 3 deletions

View File

@@ -354,10 +354,39 @@
<label class="md-nav__link md-nav__link--active" for="__toc">
Passwords
<span class="md-nav__icon md-icon"></span>
</label>
<a href="./" class="md-nav__link md-nav__link--active">
Passwords
</a>
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#inside-docker" class="md-nav__link">
Inside Docker
</a>
</li>
</ul>
</nav>
</li>
@@ -425,6 +454,21 @@
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
Table of contents
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#inside-docker" class="md-nav__link">
Inside Docker
</a>
</li>
</ul>
</nav>
</div>
</div>
@@ -449,8 +493,11 @@ passwords involves:</p>
<li>Login to your admin panel <code>{your_website_url}/admin/</code></li>
<li>Go to the users section, select the user, change their password.</li>
</ul>
<p>Note: If you use that command to create superuser <strong>inside docker</strong>, please add <code>--settings=pinry.settings.docker</code>
to command like, just like <code>python manage.py createsuperuser --settings=pinry.settings.docker</code></p>
<h2 id="inside-docker">Inside Docker<a class="headerlink" href="#inside-docker" title="Permanent link">&para;</a></h2>
<p>If you use that command to create superuser <strong>inside docker</strong>,
you could first exec to docker via command like
<code>docker exec -it &lt;container-id&gt; bash</code> and then use
<code>python manage.py createsuperuser --settings=pinry.settings.docker</code></p>

File diff suppressed because one or more lines are too long

Binary file not shown.