We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.)
cloned this git repo
cd into the local project path
composer install
npm install
gulp
set my local MySQL config in /config/database.php
php artisan make:auth
php artisan migrate --seed
php artisan serve --> all seems well so far: seeded db and gulp ran green
php artisan serve
navigated to http://localhost:8000 --> whoops page
checked: php artisan route:list
php artisan route:list
navigated to http://localhost:8000/api/users --> whoops page
bad luck, skip to 14.
set /config/app.php: 'env' => env('APP_ENV', 'dev'), 'debug' => env('APP_DEBUG', true),
'env' => env('APP_ENV', 'dev'),
'debug' => env('APP_DEBUG', true),
php artisan serve again and refresh browser --> No supported encrypter found. The cipher and / or key length are invalid. -- Ah ha! --
renamed .env.example to .env, updated MySQL settings, and undid credentials in step 5, above.
php artisan key:generate
php artisan cache:clear (for good measure)
php artisan cache:clear
php artisan serve and refresh browser, again --> Yay!! A live API example project. Pat yourself on the back.
Thank you, ratiw!
The text was updated successfully, but these errors were encountered:
@wilga Oh, sorry about that.
Sorry, something went wrong.
Good Project
No branches or pull requests
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.)
cloned this git repo
cd into the local project path
composer install
npm install
gulp
set my local MySQL config in /config/database.php
php artisan make:auth
php artisan migrate --seed
php artisan serve
--> all seems well so far: seeded db and gulp ran green
navigated to http://localhost:8000
--> whoops page
checked:
php artisan route:list
navigated to http://localhost:8000/api/users
--> whoops page
bad luck, skip to 14.
set /config/app.php:
'env' => env('APP_ENV', 'dev'),
'debug' => env('APP_DEBUG', true),
php artisan serve
again and refresh browser--> No supported encrypter found. The cipher and / or key length are invalid. -- Ah ha! --
renamed .env.example to .env, updated MySQL settings, and undid credentials in step 5, above.
php artisan key:generate
php artisan cache:clear
(for good measure)php artisan serve
and refresh browser, again--> Yay!! A live API example project. Pat yourself on the back.
Thank you, ratiw!
The text was updated successfully, but these errors were encountered: