Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # install and compile assets
- npm install
- npm run dev
- # compile API docs
- npm run api:docs
- # create database
- touch database/database.sqlite
- # make sure you have `DB_CONNECTION=sqlite` in your `.env` file. Remove any other `DB_*` key.
- php artisan migrate --seed
- # serve
- php artisan serve
- # access the docs at localhost:8000/docs
- # client credentials are: jhon@example.com:secret
- # postman credentials are: postman@example.com:secret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement