Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
535
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # install and compile assets
  4. npm install
  5. npm run dev
  6.  
  7. # compile API docs
  8. npm run api:docs
  9.  
  10. # create database
  11. touch database/database.sqlite
  12. # make sure you have `DB_CONNECTION=sqlite` in your `.env` file. Remove any other `DB_*` key.
  13.  
  14. php artisan migrate --seed
  15.  
  16. # serve
  17. php artisan serve
  18.  
  19. # access the docs at localhost:8000/docs
  20. # client credentials are: jhon@example.com:secret
  21. # postman credentials are: postman@example.com:secret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement