Having a running server and PHP with all extensions installed browse to SAW sources folder and:
composer install
cp .env.example .env
and either adjust settings manually or run the command bellow to update them automatically.
In order this command to work you should possess and place a hasicorp.pem
certificate in HASHICORP_VAULT_CERT_PATH
folder.
php artisan update:env
DB_*
environment variables, run the
command bellow to sync all migrations defined in migrations folder:php artisan migrate
php artisan storage:link
Once the above steps are completed and a working instance available all required background processes should also be configured to run behind the scenes:
php artisan rmq:dataset
php artisan rmq:mutation
php artisan rmq:batch-events
php artisan queue:work
php artisan queue:work --queue=notifications
php artisan queue:work --queue=automation
Crontab should also be setup to schedule processes defined in Kernel class, like analyses automation, storage cleanup, etc.:
php artisan schedule:run