@glicogh/healthcare-cdk 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,14 +16,14 @@ sudo cat $configuration_dir/service-ssm.env >> .env
|
|
|
16
16
|
sudo cat $configuration_dir/local.env >> .env
|
|
17
17
|
|
|
18
18
|
# copy appropriate server_name.conf based on env
|
|
19
|
-
cat $service_dir/nginx/portal/server_name.{{envName}}.conf | sudo tee $service_dir/nginx/portal/server_name.conf
|
|
19
|
+
cat $service_dir/.infra/nginx/portal/server_name.{{envName}}.conf | sudo tee $service_dir/.infra/nginx/portal/server_name.conf
|
|
20
20
|
|
|
21
21
|
# remove default virtual host
|
|
22
22
|
sudo rm -rf /etc/nginx/sites-enabled/default /etc/nginx/conf.d/default.conf
|
|
23
23
|
|
|
24
24
|
# create symlinks
|
|
25
|
-
sudo ln -sf $service_dir/nginx/portal /etc/nginx/portal
|
|
26
|
-
sudo ln -sf $service_dir/nginx/conf.d/portal.conf /etc/nginx/conf.d/portal.conf
|
|
25
|
+
sudo ln -sf $service_dir/.infra/nginx/portal /etc/nginx/portal
|
|
26
|
+
sudo ln -sf $service_dir/.infra/nginx/conf.d/portal.conf /etc/nginx/conf.d/portal.conf
|
|
27
27
|
|
|
28
28
|
# install dependencies and generate static files
|
|
29
29
|
cd $service_dir
|
package/package.json
CHANGED
|
@@ -16,14 +16,14 @@ sudo cat $configuration_dir/service-ssm.env >> .env
|
|
|
16
16
|
sudo cat $configuration_dir/local.env >> .env
|
|
17
17
|
|
|
18
18
|
# copy appropriate server_name.conf based on env
|
|
19
|
-
cat $service_dir/nginx/portal/server_name.{{envName}}.conf | sudo tee $service_dir/nginx/portal/server_name.conf
|
|
19
|
+
cat $service_dir/.infra/nginx/portal/server_name.{{envName}}.conf | sudo tee $service_dir/.infra/nginx/portal/server_name.conf
|
|
20
20
|
|
|
21
21
|
# remove default virtual host
|
|
22
22
|
sudo rm -rf /etc/nginx/sites-enabled/default /etc/nginx/conf.d/default.conf
|
|
23
23
|
|
|
24
24
|
# create symlinks
|
|
25
|
-
sudo ln -sf $service_dir/nginx/portal /etc/nginx/portal
|
|
26
|
-
sudo ln -sf $service_dir/nginx/conf.d/portal.conf /etc/nginx/conf.d/portal.conf
|
|
25
|
+
sudo ln -sf $service_dir/.infra/nginx/portal /etc/nginx/portal
|
|
26
|
+
sudo ln -sf $service_dir/.infra/nginx/conf.d/portal.conf /etc/nginx/conf.d/portal.conf
|
|
27
27
|
|
|
28
28
|
# install dependencies and generate static files
|
|
29
29
|
cd $service_dir
|