Move environment configuration to root

This commit is contained in:
Eric Meyer
2017-11-14 09:10:48 -06:00
parent 1889dcad5a
commit a23023f7d6
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ var NewErrConfigFileNotFound = func(environment string) error {
func NewConfig(environment string) (*Config, error) {
filenameWithExtension := fmt.Sprintf("%s.toml", environment)
absolutePath := filepath.Join(ProjectRoot(), "pkg", "config", "environments", filenameWithExtension)
absolutePath := filepath.Join(ProjectRoot(), "environments", filenameWithExtension)
config, err := parseConfigFile(absolutePath)
if err != nil {
return nil, NewErrConfigFileNotFound(environment)
-7
View File
@@ -1,7 +0,0 @@
[database]
name = "vulcanize_private"
hostname = "localhost"
port = 5432
[client]
ipcPath = "test_data_dir/geth.ipc"