Build admin website to manage and api for course app
- Create a database locally named
homestead
utf8_general_ci - Download composer https://getcomposer.org/download/
- Pull Laravel/php project from git provider.
- Rename
.env.example
file to.env
inside your project root and fill the database information. (windows wont let you do it, so you have to open your console cd your project root directory and runmv .env.example .env
) - Open the console and cd your project root directory
- Run
composer install
- Run
php artisan key:generate
- Run
php artisan migrate
- Run
php artisan db:seed
to run seeders, if any. - Run
php artisan serve
Open your .env
file and add your API Environment variable, upload_preset (this is optional, until you need to use the widget) like so:
CLOUDINARY_URL=xxxxxxxxxxxxx
CLOUDINARY_UPLOAD_PRESET=xxxxxxxxxxxxx
CLOUDINARY_NOTIFICATION_URL=
Note: You need to get these credentials from your Cloudinary Dashboard
The Laravel framework is open-sourced software licensed under the MIT license.