2017 © Pedro Peláez
 

module modul-ahhprovinsi-satudata

This package is one of satudata banten modules

image

indralaksmana/modul-ahhprovinsi-satudata

This package is one of satudata banten modules

  • Monday, January 22, 2018
  • by laksmana_d_indra
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

modul-ahhprovinsi-satudata

This is one module of Satudata Banten Application, (*1)

This Package is part of Satudata

Install

Via composer ``` bash $ composer require indralaksmana/modul-ahhprovinsi-satudata "1.0.0", (*2)


## 1. In your config/app.php add for laravel 5.4: ``` php 'providers' => array( ... Satudata\Ahhprovinsi\AhhprovinsiServiceProvider::class, Maatwebsite\Excel\ExcelServiceProvider::class, ),

``` php 'aliases' => [ ... 'Excel' => Maatwebsite\Excel\Facades\Excel::class, ... ],, (*3)


## 2. php artisan ``` bash $ php artisan satudata:ahhprovinsi $ php artisan vendor:publish --tag=views $ php artisan vendor:publish --tag=migrations $ php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider"

in your database/seeds/DatabaseSeeder.php add this code in run function ``` php $this->call('MasterKotaSeeder'); $this->command->info('MasterKota table seeded!');, (*4)

$this->call('MasterProvinsiSeeder'); $this->command->info('MasterProvinsi table seeded!');, (*5)


in your `resources/assets/routes.js` add this code in `const routes` ``` php const routes = [ .... { path: '/', name: 'list', component: require('./components/AhhList.vue') }, { path: '/create', name: 'create', component: require('./components/AhhCreate.vue') }, .... ]

3. Migrate Database and npm run dev

bash $ composer dump-autoload $ php artisan migrate --seed $ npm run dev, (*6)

The Versions

22/01 2018

dev-master

9999999-dev

This package is one of satudata banten modules

  Sources   Download

MIT

The Requires

 

by MKI

22/01 2018

1.0.0

1.0.0.0

This package is one of satudata banten modules

  Sources   Download

MIT

The Requires

 

by MKI