Commit edac1b83 authored by Viral Solani's avatar Viral Solani

add .env.example

update readme
parent 5ea204c6
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
# laravel-adminpanel # laravel-adminpanel
[![License](https://img.shields.io/badge/License-MIT-red.svg)](https://github.com/viralsolani/laravel-adminpanel/blob/master/LICENSE.txtl) [![License](https://img.shields.io/badge/License-MIT-red.svg)](https://github.com/viralsolani/laravel-adminpanel/blob/master/LICENSE.txt)
[![StyleCI](https://styleci.io/repos/30171828/shield?style=plastic)](https://styleci.io/repos/105789824/shield?style=plastic) [![StyleCI](https://styleci.io/repos/30171828/shield?style=plastic)](https://styleci.io/repos/105789824/shield?style=plastic)
...@@ -21,15 +21,67 @@ For Laravel 5 Boilerplate Features : [Features](https://github.com/rappasoft/lar ...@@ -21,15 +21,67 @@ For Laravel 5 Boilerplate Features : [Features](https://github.com/rappasoft/lar
Give your project a Head Start by using [laravel-adminpanel](https://github.com/viralsolani/laravel-adminpanel). Give your project a Head Start by using [laravel-adminpanel](https://github.com/viralsolani/laravel-adminpanel).
### How do I get set up? ## Installation
* After taking clone first create a database for the project. Please check the official laravel installation guide for server requirements before you start. [Official Documentation](https://laravel.com/docs/5.4/installation#installation)
* Rename the the .env.example file as .env and setup your enviornment configuration settings there e.g Database details.
* Run `composer install` command from the root directory.(For this command, make sure you have composer installed, https://getcomposer.org/download)
* Run `npm install` command from the root directory.(For this command, make sure you have npm installed, https://docs.npmjs.com/cli/install) Clone the repository
* Now run the commands `php artisan migrate` and then `php artisan db:seed`.
* Now run the commands `npm run prod` if on production environment or use `npm run dev` for development purposes. git clone https://github.com/viralsolani/laravel-adminpanel.git
* Run command `php artisan serve` and you can check website from `http://localhost:8000/`.
Switch to the repo folder
cd laravel-adminpanel
Install all the dependencies using composer
composer install
Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env
Generate a new application key
php artisan key:generate
Generate a new JWT authentication secret key
php artisan jwt:generate
Run the database migrations (**Set the database connection in .env before migrating**)
php artisan migrate
Run the database seeders
php artisan db:seed
Install the javascript dependencies using npm
npm install
Compile the dependencies
npm run dev
Start the local development server
php artisan serve
You can now access the server at http://localhost:8000
**TL;DR command list**
git clone https://github.com/viralsolani/laravel-adminpanel.git
cd laravel-adminpanel
composer install
npm install
npm run dev
cp .env.example .env
php artisan key:generate
php artisan jwt:generate
## Issues ## Issues
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "a3f840cc149b683df286539b607264d9", "content-hash": "be8a1de45aed74fa6a71da13ab19b395",
"packages": [ "packages": [
{ {
"name": "arcanedev/log-viewer", "name": "arcanedev/log-viewer",
...@@ -807,16 +807,16 @@ ...@@ -807,16 +807,16 @@
}, },
{ {
"name": "egulias/email-validator", "name": "egulias/email-validator",
"version": "2.1.2", "version": "2.1.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/egulias/EmailValidator.git", "url": "https://github.com/egulias/EmailValidator.git",
"reference": "bc31baa11ea2883e017f0a10d9722ef9d50eac1c" "reference": "1bec00a10039b823cc94eef4eddd47dcd3b2ca04"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/bc31baa11ea2883e017f0a10d9722ef9d50eac1c", "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/1bec00a10039b823cc94eef4eddd47dcd3b2ca04",
"reference": "bc31baa11ea2883e017f0a10d9722ef9d50eac1c", "reference": "1bec00a10039b823cc94eef4eddd47dcd3b2ca04",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -825,8 +825,8 @@ ...@@ -825,8 +825,8 @@
}, },
"require-dev": { "require-dev": {
"dominicsayers/isemail": "dev-master", "dominicsayers/isemail": "dev-master",
"phpunit/phpunit": "^4.8.0", "phpunit/phpunit": "^4.8.35",
"satooshi/php-coveralls": "dev-master" "satooshi/php-coveralls": "^1.0.1"
}, },
"suggest": { "suggest": {
"ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation"
...@@ -860,25 +860,28 @@ ...@@ -860,25 +860,28 @@
"validation", "validation",
"validator" "validator"
], ],
"time": "2017-01-30T22:07:36+00:00" "time": "2017-11-15T23:40:40+00:00"
}, },
{ {
"name": "erusev/parsedown", "name": "erusev/parsedown",
"version": "1.6.3", "version": "1.6.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/erusev/parsedown.git", "url": "https://github.com/erusev/parsedown.git",
"reference": "728952b90a333b5c6f77f06ea9422b94b585878d" "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/erusev/parsedown/zipball/728952b90a333b5c6f77f06ea9422b94b585878d", "url": "https://api.github.com/repos/erusev/parsedown/zipball/fbe3fe878f4fe69048bb8a52783a09802004f548",
"reference": "728952b90a333b5c6f77f06ea9422b94b585878d", "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0" "php": ">=5.3.0"
}, },
"require-dev": {
"phpunit/phpunit": "^4.8.35"
},
"type": "library", "type": "library",
"autoload": { "autoload": {
"psr-0": { "psr-0": {
...@@ -902,7 +905,7 @@ ...@@ -902,7 +905,7 @@
"markdown", "markdown",
"parser" "parser"
], ],
"time": "2017-05-14T14:47:48+00:00" "time": "2017-11-14T20:44:03+00:00"
}, },
{ {
"name": "fideloper/proxy", "name": "fideloper/proxy",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment