File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3030 python-version : 3.8
3131 - name : install linux packages
3232 run : |
33- wget https://raw.githubusercontent. com/openimis/database_ms_sqlserver/main/Empty%20databases/openIMIS_ONLINE.sql -O openIMIS_ONLINE. sql
34- wget https://raw.githubusercontent.com/openimis/database_ms_sqlserver/main/Demo%20database/openIMIS_demo_ONLINE.sql -O openIMIS_demo_ONLINE.sql
33+ git clone --depth 1 --branch develop https://github. com/openimis/database_ms_sqlserver.git ./ sql
34+ cd sql/ && bash concatenate_files.sh && cd ..
3535 curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
3636 curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
3737 sudo apt-get update
6767 run : |
6868 /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'DROP DATABASE IF EXISTS imis'
6969 /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'CREATE DATABASE imis'
70- /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis -i openIMIS_ONLINE.sql | grep . | uniq -c
71- /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis -i openIMIS_demo_ONLINE.sql | grep . | uniq -c
70+ /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis -i sql/output/fullDemoDatabase.sql | grep . | uniq -c
7271 env :
7372 SA_PASSWORD : GitHub999
7473 ACCEPT_EULA : Y
9897 # DEV_SERVER: true
9998 SITE_ROOT : api
10099 REMOTE_USER_AUTHENTICATION : True
100+
You can’t perform that action at this time.
0 commit comments