Misc small updates (#536)

This commit is contained in:
am97 2020-02-23 19:27:39 +01:00 committed by GitHub
parent d128e84860
commit eea50b9b2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 6 deletions

View file

@ -54,7 +54,7 @@ Changed
- Improve usability specially for small screen (#441) - Improve usability specially for small screen (#441)
- Replace export forms by links (#450) - Replace export forms by links (#450)
- Rework homepage design (#445) - Rework homepage design (#445)
- Docker now downloads IHM from Pypy or the reference git repo (#446) - Docker now downloads IHM from PyPI or the reference git repo (#446)
- Arrange navbar items by functions (#445) - Arrange navbar items by functions (#445)

View file

@ -22,7 +22,7 @@ ALLOW_PUBLIC_PROJECT_CREATION = $ALLOW_PUBLIC_PROJECT_CREATION
ACTIVATE_ADMIN_DASHBOARD = $ACTIVATE_ADMIN_DASHBOARD ACTIVATE_ADMIN_DASHBOARD = $ACTIVATE_ADMIN_DASHBOARD
EOF EOF
if [ ! -z "$NIGHTLY" ]; then if [ "$NIGHTLY" == "True" -o "$NIGHTLY" == "true" ]; then
# Clone or update repository into /ihatemoney. # Clone or update repository into /ihatemoney.
if [ ! -d /ihatemoney/.git ]; then if [ ! -d /ihatemoney/.git ]; then
echo "Cloning..." echo "Cloning..."
@ -36,7 +36,7 @@ if [ ! -z "$NIGHTLY" ]; then
fi fi
pip install --no-cache-dir -e /ihatemoney pip install --no-cache-dir -e /ihatemoney
else else
# Get the latest release from PyPy. # Get the latest release from PyPI.
pip install --no-cache-dir --upgrade ihatemoney pip install --no-cache-dir --upgrade ihatemoney
fi fi

View file

@ -9,8 +9,8 @@ I hate money is written in python, using the `flask <https://palletsprojects.com
framework. It's developped with ease of use in mind, and is trying to framework. It's developped with ease of use in mind, and is trying to
keep things simple. Hope you (will) like it! keep things simple. Hope you (will) like it!
Table of content Table of contents
================ =================
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1

View file

@ -17,7 +17,7 @@ Requirements
«Ihatemoney» depends on: «Ihatemoney» depends on:
* **Python**: either 2.7, 3.4, 3.5, 3.6 will work. * **Python**: either 3.5, 3.6 or 3.7 will work.
* **A Backend**: to choose among MySQL, PostgreSQL, SQLite or Memory. * **A Backend**: to choose among MySQL, PostgreSQL, SQLite or Memory.
* **Virtualenv** (recommended): `virtualenv` package under Debian/Ubuntu. * **Virtualenv** (recommended): `virtualenv` package under Debian/Ubuntu.
@ -231,6 +231,8 @@ A volume can also be specified to persist the default database file::
docker run -d -p 8000:8000 -v /host/path/to/database:/database ihatemoney docker run -d -p 8000:8000 -v /host/path/to/database:/database ihatemoney
If you want to run the latest version, you can pass `-e NIGHTLY="true"`.
Additional gunicorn parameters can be passed using the docker ``CMD`` Additional gunicorn parameters can be passed using the docker ``CMD``
parameter. parameter.
For example, use the following command to add more gunicorn workers:: For example, use the following command to add more gunicorn workers::