mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-21 13:34:24 +00:00
add .env.testing
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
APP_ENV=test
|
||||
APP_DEBUG=true
|
||||
APP_KEY=base64:Owaz/+O4RzKLOptjD28yfP1KeTiqsPOVgOPjP8/ZWIE=
|
||||
APP_URL=http://localhost
|
||||
CACHE_DRIVER=array
|
||||
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=mysql
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=default
|
||||
DB_USERNAME=default
|
||||
DB_PASSWORD=secret
|
||||
|
||||
CACHE_DRIVER=file
|
||||
SESSION_DRIVER=file
|
||||
QUEUE_DRIVER=sync
|
||||
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
+1
-1
@@ -16,7 +16,7 @@ curl -sS https://getcomposer.org/installer | php
|
||||
php composer.phar install
|
||||
|
||||
# Copy over testing configuration.
|
||||
cp .env-example .env
|
||||
cp .env.testing .env
|
||||
|
||||
# Install xdebug
|
||||
pecl install xdebug && docker-php-ext-enable xdebug
|
||||
|
||||
Reference in New Issue
Block a user