Vojík Tomáš xvojik00@stud.vutbr.cz, vojik@wboy.cz
First, you need to set up the app's config file.
Copy the /private/config_dummy.ini file to /private/config.ini and change the necessary DB connection configuration.
Then, install the application by calling:
$ composer install-appThis will install all dependencies, build webpack assets (css and js), create all DB tables and seed it with starting data.
Lastly, you can start the PHP server with:
$ composer serve(You don't have to start the server if you have Apache setup already)
$ composer buildInstalls composer dependencies, installs npm dependencies, builds webpack assets.
$ composer build-productionInstalls composer dependencies, installs npm dependencies, builds webpack assets and removes dev-dependencies.
$ composer install-appRuns composer build and installs database - creating DB tables and seeding some data.
$ composer testRuns unit tests.
$ composer serveStarts PHP server on port 8000.
$ composer docsGenerates doxygen API docs.
$ npm run buildBuilds webpack assets in production mode.
$ npm run build-devBuilds webpack assets in development mode.
$ npm run watchBuilds webpack assets. Watches assets changes and auto-builds on save.