To use the trained model with our web application locally follow those steps :
- Clone the repo
- Start the containers with ddev (will automatically install composer dependencies)
ddev start
- Install npm dependencies
npm install
- Copy .env.example to .env
cp .env.example .env
- Generate app key
ddev exec php artisan key:generate
- Run database migration
ddev exec php artisan migrate:fresh
- Generate JWT secret
ddev exec php artisan jwt:secret
- Start npm watcher to start coding
npm run watch
- Or run a build for production
npm run prod