Installation - laudeco/dolibar-stock-manager GitHub Wiki
To install the tool ...
Dev
To run the tool locally.
Requirements
- Docker
- Having a running instance of Dolibarr with the API enables
Steps
- configure the parameters (
config/services.yml
)
parameters:
dolibarr_uri: 'docker.for.mac.localhost/api/index.php/' # Define the URI to API of Dolibarr.
inventory_min: 1 #The min value for the random number before a new inventory check
inventory_max: 1 #The max value for the random number before a new inventory check
app_inventory_label: 'Correction du stock' #Label for an inventory check movement
app_mouvement_label: 'Mouvement' #Default label for a movement
app_barcode_type: 'code_128_reader' #The type of the barcode to choose between one of the supported type
db_basepath: '../../data/nosql' #The path for the storage data.
- Install the dependencies
make composer-install
- Execute the command
make up
- Open the application
make open
Production
Currently, to install the tool, you need:
- Composer
- Have PHP running
- Download the repository
- Install the dependencies by running
composer install --no-dev -o
- configure the parameters (
config/services.yml
)
parameters:
dolibarr_uri: 'docker.for.mac.localhost/api/index.php/' # Define the URI to API of Dolibarr.
inventory_min: 1 #The min value for the random number before a new inventory check
inventory_max: 1 #The max value for the random number before a new inventory check
app_inventory_label: 'Correction du stock' #Label for an inventory check movement
app_mouvement_label: 'Mouvement' #Default label for a movement
app_barcode_type: 'code_128_reader' #The type of the barcode to choose between one of the supported type
db_basepath: '../../data/nosql' #The path for the storage data.
- navigate to
rootProject/public/index.php