소스 검색

Added substitution for mongodb host in setup.py

Todd Fredrich 12 년 전
부모
커밋
34733eb35c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      restexpress/setup.py

+ 1 - 0
restexpress/setup.py

@@ -4,6 +4,7 @@ import sys
 import setup_util
 
 def start(args):
+  setup_util.replace_text("restexpress/config/dev/environment.properties", "mongodb:\/\/.*\/hello_world", "mongodb://" + args.database_host + "/hello_world")
   setup_util.replace_text("restexpress/config/dev/environment.properties", "mysql:\/\/.*:3306", "mysql://" + args.database_host + ":3306")
 
   try: