- copy
/api/env.example
to/api/.env
- make sure you have correct values for
.env.APP_URL
, database section
- make sure you have correct values for
- copy
/client/.quasar.env.json.example
to/client/.quasar.env.json
- make sure you had set same value for
development.API_URL
as.env.APP_URL
- make sure you had set same value for
cd /api
sudo find -type f -exec chmod 664 {} \;
sudo find -type d -exec chmod 755 {} \;
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
composer install
php artisan key:generate
php artisan migrate --seed
cd ../client
yarn
-
in
/client
root runyarn dev
default user:user@app
,password
-
To run tests
- from
/api
runphp artisan dusk:install
this command will installChromeDriver binaries
- remove
/api/tests/Browser/ExampleTest.php
- remove
- set values for
/api/.env
mail section - set
/api/.env.CLIENT_URL
provided byyarn dev
- from
/client
runyarn dev
now from/api
you can runphp artisan dusk
- from