Skip to content

Commit a8845e6

Browse files
author
xhlulu
committed
update predeploy script
Former-commit-id: 3462da0
1 parent 7ab4d23 commit a8845e6

3 files changed

Lines changed: 4 additions & 15 deletions

File tree

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
sudo su
2-
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
1+
curl https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/m/msodbcsql17/msodbcsql17_17.3.1.1-1_amd64.deb --output msodbcsql17_17.3.1.1-1_amd64.deb
32

4-
#Ubuntu 18.04
5-
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
6-
7-
exit
8-
sudo apt-get update
9-
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17
10-
# optional: for unixODBC development headers
11-
sudo apt-get install -y unixodbc-dev
12-
13-
# install requirements that needed the commands above
14-
pip install -r requirements-predeploy.txt
3+
ACCEPT_EULA=Y dpkg -i msodbcsql17_17.3.1.1-1_amd64.deb

apps/dash-synapse-demo/requirements-predeploy.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/dash-synapse-demo/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ numpy
66
scikit-learn
77
Flask-Caching
88
gunicorn
9-
redis
9+
redis
10+
pyodbc

0 commit comments

Comments
 (0)