bump version to 0.5.6
Before Width: | Height: | Size: 537 KiB After Width: | Height: | Size: 537 KiB |
Before Width: | Height: | Size: 369 KiB After Width: | Height: | Size: 370 KiB |
Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 202 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 104 KiB |
@ -1,54 +1,6 @@
|
||||
Features
|
||||
########
|
||||
|
||||
List
|
||||
~~~~
|
||||
|
||||
Administration
|
||||
^^^^^^^^^^^^^^
|
||||
(*new in 0.3.0*)
|
||||
|
||||
- **Application**
|
||||
|
||||
The following parameters can be set:
|
||||
|
||||
- active users limit. If 0, registration is enabled (no limit defined)
|
||||
- maximum size of uploaded files
|
||||
- maximum size of zip archive
|
||||
- maximum number of files in the zip archive. If an archive contains more files, only the configured number of files is processed, without raising errors.
|
||||
|
||||
.. warning::
|
||||
Updating server configuration may be necessary to handle large files (like `nginx <https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size>`_ for instance).
|
||||
|
||||
|
||||
- **Users**
|
||||
|
||||
- display users list and details
|
||||
- edit a user to add/remove administration rights
|
||||
- delete a user
|
||||
|
||||
- **Sports**
|
||||
|
||||
- enable or disable a sport (a sport can be disabled even if workout with this sport exists)
|
||||
|
||||
Account & preferences
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
- A user can create, update and deleted his account
|
||||
- A user can set language, timezone and first day of week.
|
||||
- A user can reset his password (*new in 0.3.0*)
|
||||
- A user can choose between metric system and imperial system for distance, elevation and speed display (*new in 0.5.0*)
|
||||
- A user can set sport preferences (*new in 0.5.0*):
|
||||
- change sport color (used for sport image and charts)
|
||||
- can override stopped speed threshold (for next uploaded gpx files)
|
||||
- disable/enable a sport.
|
||||
|
||||
.. note::
|
||||
| If a sport is disabled by an administrator, it can not be enabled by a user. In this case, it will only appear in preferences if it has user's workouts and the user can only change sport color.
|
||||
| A disabled sport (by admin or user) will not appear in dropdown when **adding a workout**.
|
||||
| A workout with a disabled sport will still be displayed in the application.
|
||||
|
||||
|
||||
|
||||
Workouts
|
||||
^^^^^^^^
|
||||
- 11 sports are supported:
|
||||
@ -100,37 +52,86 @@ Workouts
|
||||
.. note::
|
||||
For now, only the owner of the workout can see it.
|
||||
|
||||
|
||||
Account & preferences
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
- A user can create, update and deleted his account
|
||||
- A user can set language, timezone and first day of week.
|
||||
- A user can reset his password (*new in 0.3.0*)
|
||||
- A user can choose between metric system and imperial system for distance, elevation and speed display (*new in 0.5.0*)
|
||||
- A user can set sport preferences (*new in 0.5.0*):
|
||||
- change sport color (used for sport image and charts)
|
||||
- can override stopped speed threshold (for next uploaded gpx files)
|
||||
- disable/enable a sport.
|
||||
|
||||
.. note::
|
||||
| If a sport is disabled by an administrator, it can not be enabled by a user. In this case, it will only appear in preferences if the user has workouts and only sport color can be changed.
|
||||
| A disabled sport (by admin or user) will not appear in dropdown when **adding a workout**.
|
||||
| A workout with a disabled sport will still be displayed in the application.
|
||||
|
||||
|
||||
Administration
|
||||
^^^^^^^^^^^^^^
|
||||
(*new in 0.3.0*)
|
||||
|
||||
- **Application**
|
||||
|
||||
The following parameters can be set:
|
||||
|
||||
- active users limit. If 0, registration is enabled (no limit defined)
|
||||
- maximum size of uploaded files
|
||||
- maximum size of zip archive
|
||||
- maximum number of files in the zip archive. If an archive contains more files, only the configured number of files is processed, without raising errors.
|
||||
|
||||
.. warning::
|
||||
Updating server configuration may be necessary to handle large files (like `nginx <https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size>`_ for instance).
|
||||
|
||||
|
||||
- **Users**
|
||||
|
||||
- display users list and details
|
||||
- edit a user to add/remove administration rights
|
||||
- delete a user
|
||||
|
||||
- **Sports**
|
||||
|
||||
- enable or disable a sport (a sport can be disabled even if workout with this sport exists)
|
||||
|
||||
|
||||
Translations
|
||||
^^^^^^^^^^^^
|
||||
FitTrackee is available in English and French (which can be saved in the user preferences).
|
||||
|
||||
|
||||
Screenshots
|
||||
^^^^^^^^^^^^
|
||||
|
||||
Dashboard
|
||||
~~~~~~~~~
|
||||
"""""""""
|
||||
|
||||
.. figure:: _images/fittrackee_screenshot-01.png
|
||||
:alt: FitTrackee Dashboard
|
||||
|
||||
|
||||
Workout detail
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
""""""""""""""
|
||||
.. figure:: _images/fittrackee_screenshot-02.png
|
||||
:alt: FitTrackee Workout
|
||||
|
||||
|
||||
Workouts list
|
||||
~~~~~~~~~~~~~
|
||||
"""""""""""""
|
||||
.. figure:: _images/fittrackee_screenshot-03.png
|
||||
:alt: FitTrackee Workouts
|
||||
|
||||
|
||||
Statistics
|
||||
~~~~~~~~~~
|
||||
""""""""""
|
||||
.. figure:: _images/fittrackee_screenshot-04.png
|
||||
:alt: FitTrackee Statistics
|
||||
|
||||
Administration
|
||||
~~~~~~~~~~~~~~
|
||||
""""""""""""""
|
||||
.. figure:: _images/fittrackee_screenshot-05.png
|
||||
:alt: FitTrackee Administration
|
||||
|
||||
|
@ -230,17 +230,17 @@ To keep using **ThunderForest Outdoors**, the configuration is:
|
||||
.. note::
|
||||
| Check the terms of service of tile provider for map attribution
|
||||
|
||||
From PyPI
|
||||
~~~~~~~~~
|
||||
|
||||
.. note::
|
||||
| Recommended way on production.
|
||||
Installation
|
||||
~~~~~~~~~~~~
|
||||
|
||||
.. warning::
|
||||
| Note that FitTrackee is under heavy development, some features may be unstable.
|
||||
|
||||
Installation
|
||||
^^^^^^^^^^^^
|
||||
From PyPI
|
||||
^^^^^^^^^
|
||||
|
||||
.. note::
|
||||
| Recommended way on production.
|
||||
|
||||
- Create and activate a virtualenv
|
||||
|
||||
@ -298,41 +298,8 @@ For instance, copy and update ``.env`` file from ``.env.example`` and source the
|
||||
| To start application and workers with **systemd** service, see `Deployment <installation.html#deployment>`__
|
||||
|
||||
|
||||
Upgrade
|
||||
^^^^^^^
|
||||
|
||||
.. warning::
|
||||
| Before upgrading, make a backup of all data:
|
||||
| - database (with `pg_dump <https://www.postgresql.org/docs/11/app-pgdump.html>`__ for instance)
|
||||
| - upload directory (see `Environment variables <installation.html#environment-variables>`__)
|
||||
|
||||
- Activate the virtualenv
|
||||
|
||||
- Upgrade with pip
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip install -U fittrackee
|
||||
|
||||
- Update environment variables if needed and source environment variables file
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ nano .env
|
||||
$ source .env
|
||||
|
||||
- Upgrade database if needed
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ fittrackee_upgrade_db
|
||||
|
||||
|
||||
- Restart the application and task queue workers.
|
||||
|
||||
|
||||
From sources
|
||||
~~~~~~~~~~~~~
|
||||
^^^^^^^^^^^^
|
||||
|
||||
.. warning::
|
||||
| Since FitTrackee 0.2.1, Python packages installation needs Poetry.
|
||||
@ -349,10 +316,6 @@ From sources
|
||||
|
||||
For other OS, see `Poetry Documentation <https://python-poetry.org/docs/#installation>`__
|
||||
|
||||
|
||||
Installation
|
||||
^^^^^^^^^^^^
|
||||
|
||||
Dev environment
|
||||
"""""""""""""""
|
||||
|
||||
@ -396,13 +359,13 @@ Production environment
|
||||
.. warning::
|
||||
| Note that FitTrackee is under heavy development, some features may be unstable.
|
||||
|
||||
- Download the last release (for now, it is the release v0.5.5):
|
||||
- Download the last release (for now, it is the release v0.5.6):
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.5.tar.gz
|
||||
$ tar -xzf v0.5.5.tar.gz
|
||||
$ mv FitTrackee-0.5.5 FitTrackee
|
||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.6.tar.gz
|
||||
$ tar -xzf v0.5.6.tar.gz
|
||||
$ mv FitTrackee-0.5.6 FitTrackee
|
||||
$ cd FitTrackee
|
||||
|
||||
- Create **.env** from example and update it
|
||||
@ -431,8 +394,9 @@ Open http://localhost:5000, log in as admin (the email is
|
||||
``admin@example.com`` and the password ``mpwoadmin``) and change the
|
||||
password
|
||||
|
||||
|
||||
Upgrade
|
||||
^^^^^^^
|
||||
~~~~~~~
|
||||
|
||||
.. warning::
|
||||
| Before upgrading, make a backup of all data:
|
||||
@ -440,6 +404,37 @@ Upgrade
|
||||
| - upload directory (see `Environment variables <installation.html#environment-variables>`__)
|
||||
|
||||
|
||||
From PyPI
|
||||
^^^^^^^^^
|
||||
|
||||
- Activate the virtualenv
|
||||
|
||||
- Upgrade with pip
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip install -U fittrackee
|
||||
|
||||
- Update environment variables if needed and source environment variables file
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ nano .env
|
||||
$ source .env
|
||||
|
||||
- Upgrade database if needed (see changelog for migrations):
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ fittrackee_upgrade_db
|
||||
|
||||
|
||||
- Restart the application and task queue workers.
|
||||
|
||||
|
||||
From sources
|
||||
^^^^^^^^^^^^
|
||||
|
||||
Dev environment
|
||||
"""""""""""""""
|
||||
|
||||
@ -451,11 +446,16 @@ Dev environment
|
||||
|
||||
- Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
|
||||
|
||||
- Upgrade packages and database:
|
||||
- Upgrade packages:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ make install-dev
|
||||
|
||||
- Upgrade database if needed (see changelog for migrations):
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ make upgrade-db
|
||||
|
||||
- Restart the server:
|
||||
@ -477,22 +477,27 @@ Prod environment
|
||||
|
||||
- Change to the directory where FitTrackee directory is located
|
||||
|
||||
- Download the last release (for now, it is the release v0.5.5) and overwrite existing files:
|
||||
- Download the last release (for now, it is the release v0.5.6) and overwrite existing files:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.5.tar.gz
|
||||
$ tar -xzf v0.5.5.tar.gz
|
||||
$ cp -R FitTrackee-0.5.5/* FitTrackee/
|
||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.6.tar.gz
|
||||
$ tar -xzf v0.5.6.tar.gz
|
||||
$ cp -R FitTrackee-0.5.6/* FitTrackee/
|
||||
$ cd FitTrackee
|
||||
|
||||
- Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
|
||||
|
||||
- Upgrade packages and database:
|
||||
- Upgrade packages:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ make install-dev
|
||||
|
||||
- Upgrade database if needed (see changelog for migrations):
|
||||
|
||||
.. code:: bash
|
||||
|
||||
$ make install-python
|
||||
$ make upgrade-db
|
||||
|
||||
- Restart the server and dramatiq workers:
|
||||
@ -503,7 +508,7 @@ Prod environment
|
||||
|
||||
|
||||
Deployment
|
||||
~~~~~~~~~~~~~
|
||||
~~~~~~~~~~
|
||||
|
||||
There are several ways to start **FitTrackee** web application and task queue
|
||||
library.
|
||||
@ -591,7 +596,7 @@ Examples (to update depending on your application configuration and given distri
|
||||
.. code-block::
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen 443 ssl http2;
|
||||
server_name example.com;
|
||||
ssl_certificate fullchain.pem;
|
||||
ssl_certificate_key privkey.pem;
|
||||
@ -666,7 +671,7 @@ Development
|
||||
|
||||
.. versionadded:: 0.5.0
|
||||
|
||||
- an additional step is to install `fittrackee_client`
|
||||
- an additional step is needed to install `fittrackee_client`
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|