mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Make gettext a prerequisite rather than polluting the make file with apt commands that require sudo
This commit is contained in:
parent
eaf910d263
commit
fcb47fce09
@ -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 ..
|
||||
|
||||
|
1
Makefile
1
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
|
||||
|
@ -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
|
||||
------------
|
||||
|
Loading…
Reference in New Issue
Block a user