To see the current version installed, visit the url: /version.php.
Checkout the project using git or the Github plugin for PhpStorm.
Install composer and run:
composer installSet up config files
cp application/configs/application.ini.default application/configs/application.ini
cp public/.htaccess.default public/.htaccess
cp application/configs/env.php.default application/configs/env.php
nano application/configs/env.phpSet up file rights
chmod 777 data/documents
chmod -R 777 data/logs
chmod 777 data/proxies
chmod -R 777 public/cache
chmod 777 public/tempInstall Virtual Box and Vagrant:
vagrant upThe website is accessible at http://localhost:8000/inventory/.
PhpMyAdmin is accessible at http://localhost:8000/phpmyadmin/.
SSH to the virtual machine:
vagrant ssh
cd /vagrantDestroy the VM:
vagrant destroyCommands are run with bin/inventory, or bin/tests for the unit tests environment.
account:create "My Company": creates a new accountacl:rebuild: rebuilds the ACL from the rolescache:clear: clear the cachesdb:create: creates the database (empty)db:update: update the database schemadb:populate [data-set]: create and populates the database with a data setexport:rebuild: rebuilds the export files
cd inventory/
phpunit- error.log: application log
- queries.log: query log
- worker.log: while running in worker mode, logs are on the standard output, but redirected to this file by supervisor