update documentation

This commit is contained in:
Sam 2021-07-17 12:37:47 +02:00
parent 9254c02f1a
commit c944478fa0
4 changed files with 38 additions and 19 deletions

View File

@ -385,7 +385,7 @@ From sources
$ yay poetry $ yay poetry
$ poetry --version $ poetry --version
Poetry 1.0.10 Poetry 1.0.17
# optional # optional
$ poetry config virtualenvs.in-project true $ poetry config virtualenvs.in-project true
@ -492,7 +492,7 @@ Dev environment
$ git pull $ git pull
- Update **.env** if needed - Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
- Upgrade packages and database: - Upgrade packages and database:
@ -516,19 +516,26 @@ Dev environment
Prod environment Prod environment
"""""""""""""""" """"""""""""""""
- Stop the application and pull the repository: - Stop the application
- Change to the directory where FitTrackee directory is located
- Download the last release (for now, it is the release v0.4.9) and overwrite existing files:
.. code:: bash .. code:: bash
$ git pull $ wget https://github.com/SamR1/FitTrackee/archive/v0.4.9.tar.gz
$ tar -xzf v0.4.9.tar.gz
$ cp -R FitTrackee-0.4.9/* FitTrackee/
$ cd FitTrackee
- Update **.env** if needed - Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
- Upgrade packages and database: - Upgrade packages and database:
.. code:: bash .. code:: bash
$ make install $ make install-python
$ make upgrade-db $ make upgrade-db
- Restart the server and dramatiq workers: - Restart the server and dramatiq workers:

View File

@ -663,7 +663,7 @@ $ <span class="nb">source</span> .env
</div> </div>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ yay poetry <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ yay poetry
$ poetry --version $ poetry --version
Poetry <span class="m">1</span>.0.10 Poetry <span class="m">1</span>.0.17
<span class="c1"># optional</span> <span class="c1"># optional</span>
$ poetry config virtualenvs.in-project <span class="nb">true</span> $ poetry config virtualenvs.in-project <span class="nb">true</span>
@ -769,7 +769,7 @@ password</p>
</pre></div> </pre></div>
</div> </div>
<ul class="simple"> <ul class="simple">
<li><p>Update <strong>.env</strong> if needed</p></li> <li><p>Update <strong>.env</strong> if needed (see <a class="reference external" href="installation.html#environment-variables">Environment variables</a>).</p></li>
<li><p>Upgrade packages and database:</p></li> <li><p>Upgrade packages and database:</p></li>
</ul> </ul>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make install-dev <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make install-dev
@ -792,16 +792,21 @@ $ make upgrade-db
<section id="prod-environment"> <section id="prod-environment">
<h4>Prod environment<a class="headerlink" href="#prod-environment" title="Permalink to this headline"></a></h4> <h4>Prod environment<a class="headerlink" href="#prod-environment" title="Permalink to this headline"></a></h4>
<ul class="simple"> <ul class="simple">
<li><p>Stop the application and pull the repository:</p></li> <li><p>Stop the application</p></li>
<li><p>Change to the directory where FitTrackee directory is located</p></li>
<li><p>Download the last release (for now, it is the release v0.4.9) and overwrite existing files:</p></li>
</ul> </ul>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ git pull <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ wget https://github.com/SamR1/FitTrackee/archive/v0.4.9.tar.gz
$ tar -xzf v0.4.9.tar.gz
$ cp -R FitTrackee-0.4.9/* FitTrackee/
$ <span class="nb">cd</span> FitTrackee
</pre></div> </pre></div>
</div> </div>
<ul class="simple"> <ul class="simple">
<li><p>Update <strong>.env</strong> if needed</p></li> <li><p>Update <strong>.env</strong> if needed (see <a class="reference external" href="installation.html#environment-variables">Environment variables</a>).</p></li>
<li><p>Upgrade packages and database:</p></li> <li><p>Upgrade packages and database:</p></li>
</ul> </ul>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make install <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make install-python
$ make upgrade-db $ make upgrade-db
</pre></div> </pre></div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -385,7 +385,7 @@ From sources
$ yay poetry $ yay poetry
$ poetry --version $ poetry --version
Poetry 1.0.10 Poetry 1.0.17
# optional # optional
$ poetry config virtualenvs.in-project true $ poetry config virtualenvs.in-project true
@ -492,7 +492,7 @@ Dev environment
$ git pull $ git pull
- Update **.env** if needed - Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
- Upgrade packages and database: - Upgrade packages and database:
@ -516,19 +516,26 @@ Dev environment
Prod environment Prod environment
"""""""""""""""" """"""""""""""""
- Stop the application and pull the repository: - Stop the application
- Change to the directory where FitTrackee directory is located
- Download the last release (for now, it is the release v0.4.9) and overwrite existing files:
.. code:: bash .. code:: bash
$ git pull $ wget https://github.com/SamR1/FitTrackee/archive/v0.4.9.tar.gz
$ tar -xzf v0.4.9.tar.gz
$ cp -R FitTrackee-0.4.9/* FitTrackee/
$ cd FitTrackee
- Update **.env** if needed - Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
- Upgrade packages and database: - Upgrade packages and database:
.. code:: bash .. code:: bash
$ make install $ make install-python
$ make upgrade-db $ make upgrade-db
- Restart the server and dramatiq workers: - Restart the server and dramatiq workers: