APP_NAME: local

  • paulchicago74
    Participant
      # 5 months, 4 weeks ago

      What do you mean by
      Enivroment Settings
      APP_NAME – Enter application name ex. BAP (note if Your application name contains space use “” to wrap text. ex “Laravel BAP”
      APP_NAME – Important! Choose Local. This setting allows to populate database data (default user, dictionaries, etc).

      in the installation documentation?

      I am able to install but my local (using local php/mysql) is pointing to localhost and its not working.

    • laravel-bap
      Keymaster
        # 5 months, 4 weeks ago

        By local i understand “Local computer” – Your laptop. I assume U are using windows, right ?

        On local computer You don’t need to user apache or any other server, there is built-in server into php (But You know that for sure).

        1. open console and cd into application root folder.
        2. setup Your database in .env file and APP_URL = “localhost:8000”
        3. run “php artisan config:cache”
        4. run “php artisan cache:clear”
        5. run command “php artisan bap:install”
        6. “run artisan serve” – this will run php server on localhost:8000 address.

        // example env
        APP_NAME=”Laravel BAP”
        APP_ENV=local
        APP_KEY=base64:HWatbotxPP3nDXY+zxF6K/bCQfFR+tkbPUOD8/GIbt4=
        APP_DEBUG=true

        DEBUGBAR_ENABLED = true

        APP_LOG_LEVEL=debug
        APP_URL=http://localhost:8000

        DB_CONNECTION=mysql
        DB_HOST=127.0.0.1
        DB_PORT=3306
        DB_DATABASE=bapcrm
        DB_USERNAME=root
        DB_PASSWORD=root

        BROADCAST_DRIVER=pusher
        CACHE_DRIVER=database
        SESSION_DRIVER=database
        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=
        PUSHER_CLUSTER=

        BAP_DEMO=false
        BAP_INSTALL_DEMO_DATA=true
        BAP_ENABLE_NOTIFICATIONS=true
        JWT_SECRET=

      You must be logged in to reply to this topic.