rroycedev/rroyce-assetmgr

The Laravel Framework.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:HTML

Type:project

dev-master 2018-03-20 19:50 UTC

This package is auto-updated.

Last update: 2024-04-22 21:27:17 UTC


README

An asset manager website using laravel package adldap2/adldap2-laravel

To get Webpack to compiler for vuejs-devtools you need to add the following to the end of the file ./node_modules/laravel-mix/setup/webpack.config.js:

module.exports.node = { fs: 'empty', child_process: 'empty' } externals: { child_process: 'child_process' }

Installation for Database Authentication

  1. Clone the repository https://github.com/rroycedev/rroyce-assetmgr to your project root directory

  2. Copy the .env.example file to .env

  3. Edit the .env file and change the database settings to your settings:

     DB_CONNECTION=mysql
     DB_HOST=127.0.0.1
     DB_PORT=3306
     DB_DATABASE=homestead
     DB_USERNAME=homestead
     DB_PASSWORD=secret
    
  4. From the project root directory type the following:

     composer update
    
     php artisan key:generate
     
     php artisan migrate
     
     php artisan db:seed --class=InitUsersTableSeeder
    

Installation for LDAP Authentication

  1. Clone the repository https://github.com/rroycedev/rroyce-assetmgr to your project root directory

  2. Copy the .env.example file to .env

  3. Edit the .env file and change the the value of:

     ASSETMGR_USER_PROVIDER_DRIVER=adldap
     
     ADLDAP_ACCOUNT_PREFIX="cn="
     ADLDAP_ACCOUNT_SUFFIX=",cn=Asset Manager,ou=groups,dc=rroyce,dc=com"
     ADLDAP_CONTROLLERS=10.0.0.101
     ADLDAP_PORT=389
     ADLDAP_AUTO_CONNECT=false
     ADLDAP_TIMEOUT=5
     ADLDAP_BASEDN="dc=rroyce,dc=com"
     ADLDAP_ADMIN_ACCOUNT_PREFIX="cn="
     ADLDAP_ADMIN_ACCOUNT_SUFFIX=",dc=rroyce,dc=com"
     ADLDAP_ADMIN_USERNAME=admin
     ADLDAP_ADMIN_PASSWORD=
     ADLDAP_USE_SSL=false
     ADLDAP_USE_TLS=false
    
  4. From the project root directory type the following:

     composer update
    
     php artisan key:generate
    
     php artisan vendor:publish --tag=adldap
    

Run Project Web Server

To run the webserver type the following from the project root directory:

    php artisan server --host=<hostname> --port=<portnumber>