This is the source code of the VTCManager API server. It is based on the Laravel PHP Framework.
- Make sure that the latest version of PHP Composer is installed.
- Install the composer packages by running
composer installin the API project directory. - After that, create a copy of the .env.example and rename it to
.env. - Then open the
.envfile and write your databse credentials in all variables with aDBprefix. More information can be found here. - Now you have to write the oauth credentials in all variables with a
VCC_CLIENTorVCC_VTCM_CLIENTprefix. The oauth credentials can be found in the VCC cloud. - Now you are ready to start the server locally. Run
php artisan servein one terminal window andphp artisan websockets:servein another terminal window.