-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Use phpdotenv to set db params. This helps to move away from reliance on Kohana for database configuration. Test Plan: - Create a `.env` file like: ``` DB_TYPE=MySQLi DB_HOST=192.168.33.110 DB_NAME=ushahidi DB_USER=ushahidi DB_PASS=lamulamulamu ``` - Remove application/config/environments/development/database.php - Make an API request and check you don't get db errors - Run `bin/behat` Reviewers: aMoniker, shadowhand Subscribers: eyedol Differential Revision: https://phabricator.ushahidi.com/D554
- Loading branch information
Showing
6 changed files
with
320 additions
and
83 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 |
---|---|---|
|
@@ -14,6 +14,7 @@ build/* | |
puppet/modules | ||
Puppetfile.lock | ||
.tmp/* | ||
.env | ||
|
||
# Kohana deployment specifics | ||
application/logs/* | ||
|
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
Oops, something went wrong.