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:
parent
eaf910d263
commit
fcb47fce09
@ -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 ..
|
||||||
|
|
||||||
|
1
Makefile
1
Makefile
@ -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
|
||||||
|
@ -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
|
||||||
------------
|
------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user