- Copy .env.example file and rename as .env
- Fill DB variables on .env file, put DB_DATABASE=rpgtoolkit
- Create database on mysql/mariadb
CREATE DATABASE rpgtoolkit - Open a new session on console and move to 'api' folder
- Run
composer install - Run tests
vendor/bin/phpunit - On console run migrations
php artisan migrateand after run seedersphp db:seed - Execute web service
php -S localhost:8081 -t public - Open a new session on console and move to 'app' folder
- Run
npm install - Run
npm run serve -- --port 8080 - Open a web browser http://localhost:8080
===========================================