All of the configuration variables for the FoodTiger project are stored in the
.env file in root of your site.
You can edit them directly in the file, or use the integrated .env editor. You need to login as admin, and you will be able to use the visual .env editor.
List of all custom environment variables FoodTiger uses. We will see them one by one.
From version 1.2 we enable tracks and reports website traffic using Google Analytics. This is optionally and if you want to enable on your site you need to create Google Analytics code.
When you run your site in subdomain, you need to declare that subdomain in your .env file. This is needed to be clarified, since this project can be used with subdomains for each restaurant.
FoodTiger also support integration and working with excel files.
There are also few variables that for now only we will mentioned and later we will explain more about them.
Automatically approving the orders No need admin to approve the orders if true. By default is set to false.
APP_ORDER_APPROVE_DIRECTLY=false //No need admin to approve the oorders if true
Restaurants will deliver orders on their self's
APP_ALLOW_SELF_DELIVER=true //Restaurants will deliver orders on their selfs
Option for adding/deleting demo data in your project
If you want to skip the adding the demo data that you will find on the demo version you can make that with adding variable in the configuration.
DEMO_DATA=false //By default it's true, if false the data won't be added
Additionally if you add the demo data in the process of installation later you can delete manually but maybe you will have some conflicts during this process. You can find about it on the following link.
In the end you should have a list of variables like the list below.
APP_LOCALE=en // en | fr | de | esIGNORE_SUBDOMAINS='www' //If you run your site as subdomain, add the subdomain hereHIDE_COD=false //Hide Show Cash on DeliveryENABLE_STRIPE=false //Do you want to use Stripe PaymentSTRIPE_KEY="" //Stripe API keySTRIPE_SECRET="" //Stripe API SecretENABLE_STRIPE_IDEAL=false //Should we have stripe ideal paymentDEFAULT_PAYMENT="cod" //Default payment method - Cash On Delivery default cod|stripeCASHIER_CURRENCY="usd" //usd,eur etc..GOOGLE_MAPS_API_KEY="" //Uses Google Maps and Places APIENABLE_LOCATION_SEARCH=false // if true, will enable the delivery area searchGOOGLE_ANALYTICS="" //Google Analytcis codeGOOGLE_CLIENT_ID="" //Used for google loginGOOGLE_CLIENT_SECRET="" //Used for go0gle loginGOOGLE_REDIRECT="" //Used for google loginFACEBOOK_CLIENT_ID="" //Used for facebook loginFACEBOOK_CLIENT_SECRET="" //Used for facebook loginFACEBOOK_REDIRECT="" //Used for facebook loginENABLE_IMPORT_CSV=false //Enable importing restaurants from excel filesAPP_ORDER_APPROVE_DIRECTLY=false //No need admin to approve the oorders if trueAPP_ALLOW_SELF_DELIVER=true //Restaurants will deliver orders on their selfsENABLE_PICKUP=true //Do we have the option client to make PICKUPURL_ROUTE="restaurant" //URL route on frontendONESIGNAL_APP_ID="" //Onesignal app idONESIGNAL_REST_API_KEY="" //Onesignal rest api keyDEMO_DATA=false //Enable od disable demo dataTIME_FORMAT="24hours" //Display time 24hours or AM/PMDATETIME_DISPLAY_FORMAT="d M Y H:i" // "d M Y H:i" -is for 24h "d M Y h:i A" is for am/pm - Look for carbon formatONESIGNAL_APP_ID= //One Signal App IdONESIGNAL_REST_API_KEY= //One Signal Rest Api KeyAPP_SECRET="" //String use to secure your Client Mobile API - can be any stringMAIL_DRIVER=smtpMAIL_HOST=smtp.mailtrap.ioMAIL_PORT=2525MAIL_USERNAME=nullMAIL_PASSWORD=nullMAIL_ENCRYPTION=nullMAIL_FROM_ADDRESS=''MAIL_FROM_NAME=''SINGLE_MODE=false //If true, the site will open open single restaurantSINGLE_MODE_ID=1 //Single Restaurant mode idTWILIO_ACCOUNT_SID=SIDTWILIO_AUTH_TOKEN=TOKENTWILIO_FROM="NUMBER"SEND_SMS_NOTIFICATIONS=falseTIME_ZONE=UTCENABLE_COST_PER_DISTANCE=falseCOST_PER_KILOMETER=1