Be sure that your envirement is setup to run a laravel installation. Check the official laravel site for the requirements https://laravel.com/docs/5.3/installation Tip: I recomment Homestead (vagrantbox)
In future releases i will provide a bash script to automate these tasks
- composer install
- mv .env.example .env
- cmd:( php artisan key:generate ) generate a key inside the .env file
- cmd: ( touch database/blog.sqlite ) to make an empte database file
- php artisan migrate (this will create the database tables)
- env: change the default first super user in the env file FSU_NAME=, FSU_EMAIL=, FSU_PSW=
- cmd: ( php artisan db:seed ) to register the first super user
- cmd: ( php artisan db:seed --class=FakeBlogWriters ) to get some fake users and posts to test
- cmd: ( php artisan migrate:refresh --seed ) = reset db and register only the first super user
- Since i'm using Homestead and mapped my domain to blog.local. The gulpfile.js browsersync setting is configured to use blog.local as gateway. Change it to your own url or remove it to use locahost as your default.
- If u don't want any browserSync, just remove the .browserSync line in the gulpfile.js
- Fresh Laravel 5.3 installation
- Create blog.sqlite file in the database directory
- Configuring database to sqlite
- Configuring locales (Belgian Dutch)
- Added super user
- Only Super Users can register new admin's
- Admin users can write, update and delete posts
- Author can only view, update or delete own posts
- Super Users have full control over other posts
- Clean unused use classes in the controllers
- Laravel 5.3 early release paginator bug
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.
Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
Documentation for the framework can be found on the Laravel website.
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.