From 42f2ce46d7ec56cc636f81c691d77c29f1609659 Mon Sep 17 00:00:00 2001 From: Miguel Leon Date: Mon, 16 Oct 2017 16:47:55 -0400 Subject: [PATCH] update documentation for DAO config file setup. --- docs/WOFpyODM2LBR_installation.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/WOFpyODM2LBR_installation.md b/docs/WOFpyODM2LBR_installation.md index c258b65..7411f4a 100644 --- a/docs/WOFpyODM2LBR_installation.md +++ b/docs/WOFpyODM2LBR_installation.md @@ -235,7 +235,9 @@ cd $HOME/wofpyserverdev 3. Edit `singlerunserver.py` to use the mysql config file. ```python - dao = Odm2Dao(get_connection('odm2_config_mysql.cfg')) + parser.add_argument('--config', + help='Configuration file', + default='odm2_config_mysql.cfg') ``` 3. Test that `singlerunserver.py` will deploy WOFpy. Go to one of the endpoints provided, replacing `127.0.0.1` with your server ipaddress: