Installation

This dashboard template is based on laravel default template. it was created with:

composer create-project laravel/laravel example-app

Before proceeding you’ll need to have the latest stable PHP, NodeJS and npm installed on your machine.

To get started follow these steps

  1. First of all, it's required to install PHP above 7.3.0, Node and npm / yarn.

  2. Open your favorite console application (Terminal, iTerm, Command Prompt, etc.). Navigate to the datta-able-laravel/folder and Install packages : npm i, npm install or yarn install. This command will install all the required Node.js modules into the directorynode_modulesinside datta-able-laravel/folder.

  3. To install php packages run command:composer install

  4. To compile js and scss files and watch it locally, run command: gulpThis command will compile js and scss in development mode and also recompile on changes.

  5. create database tables with php artisan migrate command.

  6. Run php artisan migrate --seed to create a user.

  7. 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.

  8. you can login with username: [email protected] and password demo.

  9. To builds the app for production gulp prod-build. It will create the public/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.