# as-schindler_planning-navigator

[GITLAB MARKDOWN](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)
  
**GIT BEFEHLE**  
--------------------------------------------------------------------
**clone without ssl**:  
GIT_SSL_NO_VERIFY=true git clone https://url  
cd <directory-of-the-clone>  
git config http.sslVerify false  

git add  
git commit -m ""  
git push origin  
  
npm start: webpack compile, ts transpile & start app  
npm dev: webpack compile, ts transpile & start node app with debugging   
  
**DEPLOYMENT** Updating  
--------------------------------------------------------------------
[ssh command Ref](https://documentation.its.umich.edu/node/295)
  
**login to server:**  
ssh schindler@planungsnavigator.raumgleiter.com  
  
the application files are in /home/schindler/as-schindler_planungsnavigator    
enter application folder, show files:  
cd as-schindler_planungsnavigator  
ls  
  
**administer application:**  
**systemctl** status planungsnavigator  
**systemctl start** planungsnavigator  
**sudo systemctl stop** planungsnavigator  
**systemctl restart** planungsnavigator  
**journalctl -u** planungsnavigator (logs)  

**update application:**  
**1. (on server):**    
sudo systemctl stop planungsnavigator  
  
**2. (on local machine): this will overwrite the files on the target server!**  
scp -r "/path/to/as-schindler_planungsnavigator" **schindler@planungsnavigator.raumgleiter.com:**  
z.B: (PRODUCTION):  
scp -r C:\\_DEV\\_PRODUCTION\\as-schindler_planungsnavigator  **schindler@planungsnavigator.raumgleiter.com:**  
  
**3. (on server):**  
sudo systemctl start planungsnavigator    
