Skip to content

Commit

Permalink
Initialization updates for v.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabeel committed Jan 29, 2020
1 parent 6340942 commit 58cce20
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Qlik-Py-Init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cd ..
echo.
echo Installing required packages... & echo.
python -m pip install --upgrade setuptools pip
pip install grpcio==1.26.0 grpcio-tools==1.26.0 numpy==1.17.5 scipy==1.4.1 pandas==0.25.3 cython==0.29.14 joblib==0.11
pip install grpcio==1.26.0 grpcio-tools==1.26.0 numpy==1.17.5 scipy==1.4.1 pandas==0.25.3 cython==0.29.14 joblib==0.11 holidays==0.9.11
pip install pystan==2.17
pip install fbprophet==0.4.post2
pip install scikit-learn==0.21.3
Expand All @@ -28,5 +28,6 @@ echo.
echo Creating a new firewall rule for TCP port 50055... & echo.
netsh advfirewall firewall add rule name="Qlik PyTools" dir=in action=allow protocol=TCP localport=50055
echo.
echo All done. Run Qlik-Py-Start.bat to start the SSE Extension Service. & echo.
echo Setup completed. Please check the log above for errors in red text. & echo.
echo Run Qlik-Py-Start.bat to start this Server Side Extension. & echo.
pause
5 changes: 3 additions & 2 deletions Qlik-Py-Init.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Write-Output "Activating the virtual environment..."
& $PSScriptRoot\qlik-py-env\Scripts\activate.ps1
Write-Output "Installing required packages..."
python -m pip install --upgrade setuptools pip
pip install grpcio==1.26.0 grpcio-tools==1.26.0 numpy==1.17.5 scipy==1.4.1 pandas==0.25.3 cython==0.29.14 joblib==0.11
pip install grpcio==1.26.0 grpcio-tools==1.26.0 numpy==1.17.5 scipy==1.4.1 pandas==0.25.3 cython==0.29.14 joblib==0.11 holidays==0.9.11
pip install pystan==2.17
pip install fbprophet==0.4.post2
pip install scikit-learn==0.21.3
Expand All @@ -20,4 +20,5 @@ pip install keras==2.2.5
python -m spacy download en
Write-Output "Creating a new firewall rule for TCP port 50055..."
netsh advfirewall firewall add rule name=Qlik-PyTools dir=in action=allow protocol=TCP localport=50055
Write-Output "All done. Run Qlik-Py-Start.bat to start the SSE Extension Service."
Write-Output "Setup completed. Please check the log above for errors in red text."
Write-Output "Run Qlik-Py-Start.ps1 to start this Server Side Extension."
14 changes: 14 additions & 0 deletions docker/Dockerfile v.6.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Use the previous version of qlik-py-tools as a parent image
FROM nabeeloz/qlik-py-tools:6.3

# Set the working directory to /qlik-py-tools/core
WORKDIR /qlik-py-tools/core

# Copy all files from the core subdirectory into the container
COPY ./core/* /qlik-py-tools/core/

# Make ports 80 and 50055 available to the world outside this container
EXPOSE 80 50055

# Run __main__.py when the container launches
CMD ["python", "__main__.py"]

0 comments on commit 58cce20

Please sign in to comment.