mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
Misc small updates (#536)
This commit is contained in:
parent
d128e84860
commit
eea50b9b2c
4 changed files with 8 additions and 6 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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::
|
||||||
|
|
Loading…
Reference in a new issue