2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Make gettext a prerequisite rather than polluting the make file with apt commands that require sudo

This commit is contained in:
Oliver Walters 2019-09-26 10:16:45 +10:00
parent eaf910d263
commit fcb47fce09
3 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,9 @@ addons:
-sqlite3 -sqlite3
before_install: before_install:
- sudo make install - sudo apt-get update
- sudo apt-get install gettext
- make install
- make migrate - make migrate
- cd InvenTree && python3 manage.py createsuperuser --username InvenTreeAdmin --email admin@inventree.com --noinput && cd .. - cd InvenTree && python3 manage.py createsuperuser --username InvenTreeAdmin --email admin@inventree.com --noinput && cd ..

View File

@ -25,7 +25,6 @@ static:
# Install all required packages # Install all required packages
install: install:
pip3 install -U -r requirements.txt pip3 install -U -r requirements.txt
apt-get install gettext
cd InvenTree && python3 setup.py cd InvenTree && python3 setup.py
# Create a superuser account # Create a superuser account

View File

@ -17,8 +17,9 @@ Requirements
To install InvenTree you will need the following system components installed: To install InvenTree you will need the following system components installed:
* python3 * python3
* python3-pip * python3-pip (pip3)
* make * make
* gettext
Installation Installation
------------ ------------