This repository has been archived by the owner on Aug 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support for environment variables
To satisfy issue #39, I'm adding support for dotenv file. I also has set up the PHPunit for doing unit test and functional test.
- Loading branch information
Showing
14 changed files
with
1,405 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#use 'en' for English and 'id' for Indonesia | ||
SYMFONY_LOCALE=en | ||
|
||
SYMFONY_SECRET=changewithyoursecretkey | ||
|
||
#use '' instead of null if you want to empty the value | ||
SYMFONY_DB_HOST=127.0.0.1 | ||
SYMFONY_DB_PORT=3306 | ||
SYMFONY_DB_NAME=yourdatabasename | ||
SYMFONY_DB_USERNAME=yourdatabaseusername | ||
SYMFONY_DB_PASSWORD=yourdatabasepassword | ||
|
||
#use this default value if you don't have any mailer system | ||
SYMFONY_MAILER_TRANSPORT=smtp | ||
SYMFONY_MAILER_HOST=127.0.0.1 | ||
SYMFONY_MAILER_USERNAME=admin | ||
SYMFONY_MAILER_PASSWORD=admin | ||
SYMFONY_MAILER_FROM_ADDRESS=youremail@yourdomain.com | ||
SYMFONY_MAILER_SENDER_NAME=yourname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,4 @@ | |
/web/uploads/seeds/*.JPG | ||
/web/uploads/seeds/*.GIF | ||
/web/vendor/* | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.