update documentation
This commit is contained in:
parent
38bbd61eba
commit
aa67e7ba20
@ -33,7 +33,7 @@ Activities/Workouts
|
|||||||
**Notes:**
|
**Notes:**
|
||||||
|
|
||||||
- only activity owner can see his activity
|
- only activity owner can see his activity
|
||||||
- no administration for now
|
- **no administration for now**
|
||||||
|
|
||||||
|
|
||||||
Dashboard
|
Dashboard
|
||||||
|
@ -87,13 +87,13 @@ Prod environment
|
|||||||
.. warning::
|
.. warning::
|
||||||
Note that FitTrackee is not production-ready yet
|
Note that FitTrackee is not production-ready yet
|
||||||
|
|
||||||
- Download the last release (for now it is the beta release v0.2.0):
|
- Download the last release (for now, it is the beta release v0.2.1):
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.2.0-beta.tar.gz
|
$ wget https://github.com/SamR1/FitTrackee/archive/v0.2.1-beta.tar.gz
|
||||||
$ tar -xzf v0.2.0-beta.tar.gz
|
$ tar -xzf v0.2.1-beta.tar.gz
|
||||||
$ mv FitTrackee-0.2.0-beta FitTrackee
|
$ mv FitTrackee-0.2.1-beta FitTrackee
|
||||||
$ cd FitTrackee
|
$ cd FitTrackee
|
||||||
|
|
||||||
- Update **Makefile.config** file if needed and copy/paste the
|
- Update **Makefile.config** file if needed and copy/paste the
|
||||||
|
@ -314,7 +314,7 @@
|
|||||||
<span class="nt">"bio"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
<span class="nt">"bio"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
||||||
<span class="nt">"birth_date"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
<span class="nt">"birth_date"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
||||||
<span class="nt">"created_at"</span><span class="p">:</span> <span class="s2">"Sun, 14 Jul 2019 14:09:58 GMT"</span><span class="p">,</span>
|
<span class="nt">"created_at"</span><span class="p">:</span> <span class="s2">"Sun, 14 Jul 2019 14:09:58 GMT"</span><span class="p">,</span>
|
||||||
<span class="nt">"email"</span><span class="p">:</span> <span class="s2">"admin@example.com"</span><span class="p">,</span>
|
<span class="nt">"email"</span><span class="p">:</span> <span class="s2">"sam@example.com"</span><span class="p">,</span>
|
||||||
<span class="nt">"first_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
<span class="nt">"first_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
||||||
<span class="nt">"id"</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
|
<span class="nt">"id"</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
|
||||||
<span class="nt">"last_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
<span class="nt">"last_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
||||||
@ -325,7 +325,8 @@
|
|||||||
<span class="nt">"timezone"</span><span class="p">:</span> <span class="s2">"Europe/Paris"</span><span class="p">,</span>
|
<span class="nt">"timezone"</span><span class="p">:</span> <span class="s2">"Europe/Paris"</span><span class="p">,</span>
|
||||||
<span class="nt">"total_distance"</span><span class="p">:</span> <span class="mf">67.895</span><span class="p">,</span>
|
<span class="nt">"total_distance"</span><span class="p">:</span> <span class="mf">67.895</span><span class="p">,</span>
|
||||||
<span class="nt">"total_duration"</span><span class="p">:</span> <span class="s2">"6:50:27"</span><span class="p">,</span>
|
<span class="nt">"total_duration"</span><span class="p">:</span> <span class="s2">"6:50:27"</span><span class="p">,</span>
|
||||||
<span class="nt">"username"</span><span class="p">:</span> <span class="s2">"sam"</span>
|
<span class="nt">"username"</span><span class="p">:</span> <span class="s2">"sam"</span><span class="p">,</span>
|
||||||
|
<span class="nt">"weekm"</span><span class="p">:</span> <span class="kc">false</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
<span class="nt">"status"</span><span class="p">:</span> <span class="s2">"success"</span>
|
<span class="nt">"status"</span><span class="p">:</span> <span class="s2">"success"</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
@ -370,7 +371,7 @@
|
|||||||
<span class="nt">"bio"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
<span class="nt">"bio"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
||||||
<span class="nt">"birth_date"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
<span class="nt">"birth_date"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
||||||
<span class="nt">"created_at"</span><span class="p">:</span> <span class="s2">"Sun, 14 Jul 2019 14:09:58 GMT"</span><span class="p">,</span>
|
<span class="nt">"created_at"</span><span class="p">:</span> <span class="s2">"Sun, 14 Jul 2019 14:09:58 GMT"</span><span class="p">,</span>
|
||||||
<span class="nt">"email"</span><span class="p">:</span> <span class="s2">"admin@example.com"</span><span class="p">,</span>
|
<span class="nt">"email"</span><span class="p">:</span> <span class="s2">"sam@example.com"</span><span class="p">,</span>
|
||||||
<span class="nt">"first_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
<span class="nt">"first_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
||||||
<span class="nt">"id"</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
|
<span class="nt">"id"</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
|
||||||
<span class="nt">"last_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
<span class="nt">"last_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
||||||
@ -382,7 +383,9 @@
|
|||||||
<span class="nt">"total_distance"</span><span class="p">:</span> <span class="mf">67.895</span><span class="p">,</span>
|
<span class="nt">"total_distance"</span><span class="p">:</span> <span class="mf">67.895</span><span class="p">,</span>
|
||||||
<span class="nt">"total_duration"</span><span class="p">:</span> <span class="s2">"6:50:27"</span><span class="p">,</span>
|
<span class="nt">"total_duration"</span><span class="p">:</span> <span class="s2">"6:50:27"</span><span class="p">,</span>
|
||||||
<span class="nt">"username"</span><span class="p">:</span> <span class="s2">"sam"</span>
|
<span class="nt">"username"</span><span class="p">:</span> <span class="s2">"sam"</span>
|
||||||
|
<span class="s2">"weekm"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
||||||
<span class="p">},</span>
|
<span class="p">},</span>
|
||||||
|
<span class="nt">"message"</span><span class="p">:</span> <span class="s2">"User profile updated."</span><span class="p">,</span>
|
||||||
<span class="nt">"status"</span><span class="p">:</span> <span class="s2">"success"</span>
|
<span class="nt">"status"</span><span class="p">:</span> <span class="s2">"success"</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
@ -440,24 +443,7 @@
|
|||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
|
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="nt">"data"</span><span class="p">:</span> <span class="p">{</span>
|
<span class="nt">"message"</span><span class="p">:</span> <span class="s2">"User picture updated."</span><span class="p">,</span>
|
||||||
<span class="nt">"admin"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
||||||
<span class="nt">"bio"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
|
||||||
<span class="nt">"birth_date"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
|
||||||
<span class="nt">"created_at"</span><span class="p">:</span> <span class="s2">"Sun, 14 Jul 2019 14:09:58 GMT"</span><span class="p">,</span>
|
|
||||||
<span class="nt">"email"</span><span class="p">:</span> <span class="s2">"admin@example.com"</span><span class="p">,</span>
|
|
||||||
<span class="nt">"first_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
|
||||||
<span class="nt">"id"</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
|
|
||||||
<span class="nt">"last_name"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
|
||||||
<span class="nt">"location"</span><span class="p">:</span> <span class="kc">null</span><span class="p">,</span>
|
|
||||||
<span class="nt">"nb_activities"</span><span class="p">:</span> <span class="mi">6</span><span class="p">,</span>
|
|
||||||
<span class="nt">"nb_sports"</span><span class="p">:</span> <span class="mi">3</span><span class="p">,</span>
|
|
||||||
<span class="nt">"picture"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
||||||
<span class="nt">"timezone"</span><span class="p">:</span> <span class="s2">"Europe/Paris"</span><span class="p">,</span>
|
|
||||||
<span class="nt">"total_distance"</span><span class="p">:</span> <span class="mf">67.895</span><span class="p">,</span>
|
|
||||||
<span class="nt">"total_duration"</span><span class="p">:</span> <span class="s2">"6:50:27"</span><span class="p">,</span>
|
|
||||||
<span class="nt">"username"</span><span class="p">:</span> <span class="s2">"sam"</span>
|
|
||||||
<span class="p">},</span>
|
|
||||||
<span class="nt">"status"</span><span class="p">:</span> <span class="s2">"success"</span>
|
<span class="nt">"status"</span><span class="p">:</span> <span class="s2">"success"</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
@ -180,7 +180,7 @@
|
|||||||
<p><strong>Notes:</strong></p>
|
<p><strong>Notes:</strong></p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>only activity owner can see his activity</p></li>
|
<li><p>only activity owner can see his activity</p></li>
|
||||||
<li><p>no administration for now</p></li>
|
<li><p><strong>no administration for now</strong></p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -231,11 +231,11 @@ and the password <code class="docutils literal notranslate"><span class="pre">mp
|
|||||||
<p>Note that FitTrackee is not production-ready yet</p>
|
<p>Note that FitTrackee is not production-ready yet</p>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Download the last release (for now it is the beta release v0.2.0):</p></li>
|
<li><p>Download the last release (for now, it is the beta release v0.2.1):</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ wget https://github.com/SamR1/FitTrackee/archive/v0.2.0-beta.tar.gz
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ wget https://github.com/SamR1/FitTrackee/archive/v0.2.1-beta.tar.gz
|
||||||
$ tar -xzf v0.2.0-beta.tar.gz
|
$ tar -xzf v0.2.1-beta.tar.gz
|
||||||
$ mv FitTrackee-0.2.0-beta FitTrackee
|
$ mv FitTrackee-0.2.1-beta FitTrackee
|
||||||
$ <span class="nb">cd</span> FitTrackee
|
$ <span class="nb">cd</span> FitTrackee
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -33,7 +33,7 @@ Activities/Workouts
|
|||||||
**Notes:**
|
**Notes:**
|
||||||
|
|
||||||
- only activity owner can see his activity
|
- only activity owner can see his activity
|
||||||
- no administration for now
|
- **no administration for now**
|
||||||
|
|
||||||
|
|
||||||
Dashboard
|
Dashboard
|
||||||
|
@ -87,13 +87,13 @@ Prod environment
|
|||||||
.. warning::
|
.. warning::
|
||||||
Note that FitTrackee is not production-ready yet
|
Note that FitTrackee is not production-ready yet
|
||||||
|
|
||||||
- Download the last release (for now it is the beta release v0.2.0):
|
- Download the last release (for now, it is the beta release v0.2.1):
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.2.0-beta.tar.gz
|
$ wget https://github.com/SamR1/FitTrackee/archive/v0.2.1-beta.tar.gz
|
||||||
$ tar -xzf v0.2.0-beta.tar.gz
|
$ tar -xzf v0.2.1-beta.tar.gz
|
||||||
$ mv FitTrackee-0.2.0-beta FitTrackee
|
$ mv FitTrackee-0.2.1-beta FitTrackee
|
||||||
$ cd FitTrackee
|
$ cd FitTrackee
|
||||||
|
|
||||||
- Update **Makefile.config** file if needed and copy/paste the
|
- Update **Makefile.config** file if needed and copy/paste the
|
||||||
|
@ -328,7 +328,7 @@ def get_user_status(user_id):
|
|||||||
"bio": null,
|
"bio": null,
|
||||||
"birth_date": null,
|
"birth_date": null,
|
||||||
"created_at": "Sun, 14 Jul 2019 14:09:58 GMT",
|
"created_at": "Sun, 14 Jul 2019 14:09:58 GMT",
|
||||||
"email": "admin@example.com",
|
"email": "sam@example.com",
|
||||||
"first_name": null,
|
"first_name": null,
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"last_name": null,
|
"last_name": null,
|
||||||
@ -339,7 +339,8 @@ def get_user_status(user_id):
|
|||||||
"timezone": "Europe/Paris",
|
"timezone": "Europe/Paris",
|
||||||
"total_distance": 67.895,
|
"total_distance": 67.895,
|
||||||
"total_duration": "6:50:27",
|
"total_duration": "6:50:27",
|
||||||
"username": "sam"
|
"username": "sam",
|
||||||
|
"weekm": false
|
||||||
},
|
},
|
||||||
"status": "success"
|
"status": "success"
|
||||||
}
|
}
|
||||||
@ -384,7 +385,7 @@ def edit_user(user_id):
|
|||||||
"bio": null,
|
"bio": null,
|
||||||
"birth_date": null,
|
"birth_date": null,
|
||||||
"created_at": "Sun, 14 Jul 2019 14:09:58 GMT",
|
"created_at": "Sun, 14 Jul 2019 14:09:58 GMT",
|
||||||
"email": "admin@example.com",
|
"email": "sam@example.com",
|
||||||
"first_name": null,
|
"first_name": null,
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"last_name": null,
|
"last_name": null,
|
||||||
@ -396,7 +397,9 @@ def edit_user(user_id):
|
|||||||
"total_distance": 67.895,
|
"total_distance": 67.895,
|
||||||
"total_duration": "6:50:27",
|
"total_duration": "6:50:27",
|
||||||
"username": "sam"
|
"username": "sam"
|
||||||
|
"weekm": true,
|
||||||
},
|
},
|
||||||
|
"message": "User profile updated.",
|
||||||
"status": "success"
|
"status": "success"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -513,24 +516,7 @@ def edit_picture(user_id):
|
|||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|
||||||
{
|
{
|
||||||
"data": {
|
"message": "User picture updated.",
|
||||||
"admin": false,
|
|
||||||
"bio": null,
|
|
||||||
"birth_date": null,
|
|
||||||
"created_at": "Sun, 14 Jul 2019 14:09:58 GMT",
|
|
||||||
"email": "admin@example.com",
|
|
||||||
"first_name": null,
|
|
||||||
"id": 2,
|
|
||||||
"last_name": null,
|
|
||||||
"location": null,
|
|
||||||
"nb_activities": 6,
|
|
||||||
"nb_sports": 3,
|
|
||||||
"picture": false,
|
|
||||||
"timezone": "Europe/Paris",
|
|
||||||
"total_distance": 67.895,
|
|
||||||
"total_duration": "6:50:27",
|
|
||||||
"username": "sam"
|
|
||||||
},
|
|
||||||
"status": "success"
|
"status": "success"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user