Install
Installation steps for Laravel Angular Material Starter
Scroll down for beginner friendly installation
composer create-project jadjoubran/laravel5-angular-material-starter:3.2.x --prefer-dist
cd laravel5-angular-material-starter
npm install -g gulp bower
npm install
bower install
#fix database credentials in .env
php artisan migrate
gulp
Watching assets
gulp && gulp watch
View website
php artisan serve
and browse to localhost:8000
Beginner friendly installation
Requirements
Make sure you have node >= 4 and npm >= 3 by running node -v
and npm -v
.
Check if gulp is installed globally on your system by running gulp -v
. If it's not installed, run npm install -g gulp
.
Check if bower is installed globally on your system by running bower -v
. If it's not installed, run npm install -g bower
.
Setup
Create the project using composer create-project command
composer create-project jadjoubran/laravel5-angular-material-starter:3.2.x --prefer-dist
then cd
into the newly created directory
cd laravel5-angular-material-starter
and install local node dependencies and bower packages
npm install
bower install
edit your .env
file and fix your database credentials
and then run the migrations
php artisan migrate
and compile the assets and watch for changes
gulp && gulp watch
now you need to open a new terminal tab/window and cd into the same directory in order to serve the application
php artisan serve
Your starter project is now ready on localhost:8000
Vagrant on Windows?
There are known issues if you're planning to use Vagrant on Windows, mainly with
npm
. These issues might help
Updated less than a minute ago