Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This Project Installation Instructions - Novice Version #1

Open
wilga opened this issue Feb 22, 2017 · 2 comments
Open

This Project Installation Instructions - Novice Version #1

wilga opened this issue Feb 22, 2017 · 2 comments

Comments

@wilga
Copy link

wilga commented Feb 22, 2017

Here are the steps I followed to run this project locally. This project purports to be Laravel ver. 5.2.39

Nineteen steps. (Or less, if you know Laravel better than me.)

  1. cloned this git repo

  2. cd into the local project path

  3. composer install

  4. npm install

  5. gulp

  6. set my local MySQL config in /config/database.php

  7. php artisan make:auth

  8. php artisan migrate --seed

  9. php artisan serve
    --> all seems well so far: seeded db and gulp ran green

  10. navigated to http://localhost:8000
    --> whoops page

  11. checked: php artisan route:list

  12. navigated to http://localhost:8000/api/users
    --> whoops page

  13. bad luck, skip to 14.

  14. set /config/app.php:
    'env' => env('APP_ENV', 'dev'),
    'debug' => env('APP_DEBUG', true),

  15. php artisan serve again and refresh browser
    --> No supported encrypter found. The cipher and / or key length are invalid. -- Ah ha! --

  16. renamed .env.example to .env, updated MySQL settings, and undid credentials in step 5, above.

  17. php artisan key:generate

  18. php artisan cache:clear (for good measure)

  19. php artisan serve and refresh browser, again
    --> Yay!! A live API example project. Pat yourself on the back.

Thank you, ratiw!

@ratiw
Copy link
Owner

ratiw commented Mar 1, 2017

@wilga Oh, sorry about that.

@davisAS
Copy link

davisAS commented Apr 3, 2020

Good Project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants