This repository aims to give a simple but quick start to prototyping a new application with Laravel. It currently uses Laravel 5.3.
-
I use Valet. This means zero setup, and the site is ready to go immediately at
http://[project].dev
-
To set up the project, run
./setup.sh
, which will carry out the following tasks: -
Create a SQLite database:
touch database/database.sqlite
-
Copy the
.env
file:cp .env.example .env
-
Run
composer install
(orphp composer install
,composer.phar install
etc, depending on your setup) -
Run
php artisan migrate
to set up the database. -
Run
php artisan key:generate
to create an application key. -
Run
npm install
thengulp
to set up node modules and process CSS, JS, and copy files to/public
folder.
- A SQLite database for getting up and running without fuss.
- Uncomment database settings in .env to switch to your MySQL database if required.
- User authentication scaffolding is already set up.
- Social login via oAuth and Laravel Socialite. Google, Facebook and Strava ready to go, just add credentials to
.env
file (orconfig/services.php
). More available.
- Run
gulp watch
to keep watching the resources folder for changes to the SASS and JS files. - Bootstrap SASS is installed via npm (in
packages.json
file), and is processed by Gulp/Elixir. - All styling should be done in the
resources/assets/sass/app.scss
andresources/assets/sass/_variables.scss
files.
- Credentials must be added to
.env
or toconfig/mail.php
so that password resets work.
- Adminer database tool accessible through navbar link (
/adminer
). Logs in automatically to the active database when opened. - API testing tool through navbar link (
/api-tester
). - Tracy debugging tool.
- Log Viewer
- A page showing many useful components from the Bootstrap 3 framework at
/kitchen-sink
.