From fcb47fce092d28ef3f038018cded20841e05427d Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 26 Sep 2019 10:16:45 +1000 Subject: [PATCH] Make gettext a prerequisite rather than polluting the make file with apt commands that require sudo --- .travis.yml | 4 +++- Makefile | 1 - docs/start.rst | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4124ae497e..d8f5641e26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,9 @@ addons: -sqlite3 before_install: - - sudo make install + - sudo apt-get update + - sudo apt-get install gettext + - make install - make migrate - cd InvenTree && python3 manage.py createsuperuser --username InvenTreeAdmin --email admin@inventree.com --noinput && cd .. diff --git a/Makefile b/Makefile index a76fc1e02c..c8a9796a71 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,6 @@ static: # Install all required packages install: pip3 install -U -r requirements.txt - apt-get install gettext cd InvenTree && python3 setup.py # Create a superuser account diff --git a/docs/start.rst b/docs/start.rst index a5621d9f97..18bef1bbbd 100644 --- a/docs/start.rst +++ b/docs/start.rst @@ -17,8 +17,9 @@ Requirements To install InvenTree you will need the following system components installed: * python3 -* python3-pip +* python3-pip (pip3) * make +* gettext Installation ------------