mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-21 19:34:54 +02:00
Added an check-requirements console command
This commit is contained in:
parent
21ca1ffead
commit
2486bc5d7b
4 changed files with 169 additions and 0 deletions
|
@ -96,6 +96,13 @@ sudo yarn install
|
|||
sudo yarn build
|
||||
```
|
||||
|
||||
### Check if everything is installed
|
||||
To check if everything is installed, run the following command:
|
||||
```bash
|
||||
sudo -u www-data php bin/console partdb:check-requirements
|
||||
```
|
||||
The most things should be green, and no red ones. Yellow messages means optional dependencies which are not important but can improve performance and functionality.
|
||||
|
||||
## Create a database for Part-DB
|
||||
Part-DB by default uses a file based sqlite database to store the data. Use the following command to create the database. The database will normally created at `/var/www/partdb/var/app.db`.
|
||||
```bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue