Pārlūkot izejas kodu

add readme, update gitignore and .env.preprod

Olivier Massot 4 gadi atpakaļ
vecāks
revīzija
aedb83358f
3 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. 3 2
      .env.preprod
  2. 1 0
      .gitignore
  3. 4 0
      readme.md

+ 3 - 2
.env.preprod

@@ -1,5 +1,6 @@
 ###> symfony/framework-bundle ###
-APP_ENV=dev
+APP_ENV=prod
+APP_DEBUG=0
 APP_SECRET=6a76497c8658bb23e2236f97a2627df3
 #TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
 #TRUSTED_HOSTS='^(localhost|example\.com)$'
@@ -8,7 +9,7 @@ APP_SECRET=6a76497c8658bb23e2236f97a2627df3
 ###> doctrine/doctrine-bundle ###
 # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
 # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
-DATABASE_URL=mysql://root:mysql660@preprod.2iopenservice.com:3306/opentalent?serverVersion=5.7
+DATABASE_URL=mysql://root:mysql2iopenservice369566@preprod.2iopenservice.com:3306/opentalent?serverVersion=5.7
 ###< doctrine/doctrine-bundle ###
 
 ###> nelmio/cors-bundle ###

+ 1 - 0
.gitignore

@@ -24,6 +24,7 @@
 
 ###> phpdocs ###
 src/.phpdoc/
+coverage/*
 ###< phpdocs ###
 /.project
 

+ 4 - 0
readme.md

@@ -0,0 +1,4 @@
+# AP2I
+
+[![pipeline status](http://gitlab.2iopenservice.com/opentalent/api/badges/master/pipeline.svg)](http://gitlab.2iopenservice.com/opentalent/api/-/commits/master)
+[![coverage report](http://gitlab.2iopenservice.com/opentalent/api/badges/master/coverage.svg)](http://gitlab.2iopenservice.com/opentalent/api/-/commits/master)