Editing the .env file

Learn to set up the Food Delivery script easily with the help of our Step by Step Installation guide.
Post Reply
fooddelivery
Site Admin
Posts: 8
Joined: Mon May 20, 2019 5:28 pm

Editing the .env file

Post by fooddelivery » Thu Jun 06, 2019 8:46 pm

Now, the final step is to configure the .env file to get the web up and running.
edit-env-.png
edit-env-.png (120.9 KiB) Viewed 208 times
You can edit the .env file and the respective values to configure the app.


APP_ENV=local
APP_KEY=base64:79VXU7XR3FdXhVpvN6buKGL0xmOcDYvztujpjpxgNGg=
APP_DEBUG=false (For developer use only, let it stay Fasle)
APP_LOG_LEVEL=error
APP_URL=http://localhost (Replace this with your domain )
IS_DEMO_ENV=false (Let it stay false on your live/production server )
DEMO_MSG='Demo Admin Panel. Everything Locked, to avoid vandalism of Demo.'
DEMO_ERR_MSG='This action is not allowed.'
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=food (Replace this with your db name)
DB_USERNAME=root (Replace this with your db username )
DB_PASSWORD=root123 (Replace this with your db password )
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=mailtrap.io (Replace this with your mailhost )
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
# ALLOWED_ORIGINS="http://localhost:4200,http://localhost:3000"
API_KEY= (Replace this with your Google MAP API Key)
DEFAULT_LATITUDE=37.7576171
DEFAULT_LONGITUDE=-122.5776844
DEFAULT_LOCATION="San Francisco, CA, USA"
DEFAULT_RESTAURANT=22
FIREBASE_URL=(Replace this with your Firebase URL )
CURRENCY_CODE=USD
HASH_NAME=deliware
HASH_SECRET=deliware

Once you have configured these, open up the browser to visit the site to open the Web App.

Post Reply