Ready to deploy, first test is online now.
This commit is contained in:
parent
fdc08da100
commit
c8efe15860
@ -1,8 +1,7 @@
|
||||
#!/bin/bash
|
||||
cd ..
|
||||
ng build --prod --no-aot --env=prod
|
||||
# deploy the disbiome website to the disbiome webservice
|
||||
rsync -az -e ssh --progress --exclude dist/.git --delete dist/* root@disbiomewebserver:/var/www/html/
|
||||
# remove --no-aot, this helped to alleviate error of library, but not necessary in this version?
|
||||
ng build --prod --env=prod
|
||||
rsync -az -e ssh --progress --exclude dist/.git --delete dist/* root@nielandtnginx:/www/
|
||||
# overwrite the local config with the remote config
|
||||
# ssh disbiomewebserver mv /var/www/html/app/config/appconfig.remote.ts /var/www/html/app/config/appconfig.ts
|
||||
# recompile everything
|
||||
|
||||
@ -19,7 +19,7 @@ export class LanguagetoggleComponent implements OnInit {
|
||||
/**
|
||||
* if this is set to true, the component will be visible
|
||||
*/
|
||||
private show = false;
|
||||
show = false;
|
||||
|
||||
constructor(private router: Router, private route: ActivatedRoute, private stateService: StateService) {
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user