mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-16 09:18:10 +00:00
Remove dublicate lines (#11016)
This commit is contained in:
@@ -157,31 +157,6 @@ And start the postgresql service:
|
|||||||
sudo service postgresql start
|
sudo service postgresql start
|
||||||
```
|
```
|
||||||
|
|
||||||
This installs all required Python packages using pip package manager. It also creates a (default) database configuration file which needs to be edited to meet user needs before proceeding (see next step below).
|
|
||||||
|
|
||||||
## Create Database
|
|
||||||
|
|
||||||
As part of the initial setup, an empty database needs to be created. Follow the instructions below particular to your database engine of choice:
|
|
||||||
|
|
||||||
### PostgreSQL
|
|
||||||
|
|
||||||
#### Install PostgreSQL
|
|
||||||
|
|
||||||
Install required system packages:
|
|
||||||
|
|
||||||
!!! info "Sudo Actions"
|
|
||||||
Perform sudo actions from a separate shell, as 'inventree' user does not have sudo access
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo apt-get install postgresql postgresql-contrib libpq-dev
|
|
||||||
```
|
|
||||||
|
|
||||||
And start the postgresql service:
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo service postgresql start
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Create Database and User
|
#### Create Database and User
|
||||||
|
|
||||||
We need to create new database, and a postgres user to allow database access.
|
We need to create new database, and a postgres user to allow database access.
|
||||||
|
|||||||
Reference in New Issue
Block a user