Installation
This dashboard template is based on laravel default template. it was created with:
Before proceeding you’ll need to have the latest stable PHP, NodeJS and npm installed on your machine.
To get started follow these steps
First of all, it's required to install PHP above 7.3.0, Node and npm / yarn.
Open your favorite console application (Terminal, iTerm, Command Prompt, etc.). Navigate to the
datta-able-laravel/
folder and Install packages :npm i,
npm install
oryarn install
. This command will install all the required Node.js modules into the directorynode_modules
insidedatta-able-laravel/
folder.To install php packages run command:
composer install
To compile js and scss files and watch it locally, run command:
gulp
This command will compile js and scss in development mode and also recompile on changes.create database tables with
php artisan migrate
command.Run
php artisan migrate --seed
to create a user.To run the project locally, run this command in seperate terminal:
php artisan serve
. This command will runs the app in development mode. Open http://localhost:8000 to view it in the browser. And now, you are ready to run the Datta able laravel for the first time.you can login with username:
demo@codedthemes.com
and passworddemo
.To builds the app for production
gulp prod-build
. It will create thepublic/assets/
folder inside this project directory. It correctly bundles JS and SCSS files in production mode and optimizes the build for the best performance. The build is minified. For Laravel deployment please visit its documentation. to compile Laravel JS and scss file run:npm run prod
.
You can find detailed instructions on using Laravel and many tips in its documentation.
Last updated