Skip to content

Commit

Permalink
Update setup.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
BBeran authored Oct 31, 2016
1 parent ba639a1 commit 090632a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ pip install ./tabpy-server
@ECHO.
@ECHO.
@CD %CONDACMD:Scripts=envs%\%CONDA_ENVIRONMENT%\Lib\site-packages\tabpy_server
@SET TABPY_STATE_PATH=envs%\%CONDA_ENVIRONMENT%\Lib\site-packages\tabpy_server
@ECHO Starting the server for the first time...
@ECHO.
@ECHO.
@IF NOT EXIST state.ini @copy state.ini.template state.ini
@SET PYTHONPATH=%PYTHONPATH%;%CD%
@SET TABPY_STATE_PATH=%CD%
@python tabpy.py --port %port%
@IF NOT EXIST %TABPY_STATE_PATH%\state.ini @copy %TABPY_STATE_PATH%\state.ini.template %TABPY_STATE_PATH%\state.ini
@SET PYTHONPATH=%PYTHONPATH%;%TABPY_STATE_PATH%
@python %TABPY_STATE_PATH%\tabpy.py --port %port%
) ELSE (
@ECHO.
@ECHO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Installation failed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 090632a

Please sign in to comment.