weatherbox:dashboard:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
weatherbox:dashboard:start [2017/05/11 04:43]
tbyers
weatherbox:dashboard:start [2021/09/19 21:59] (current)
Line 59: Line 59:
 ---- ----
 ===== Dashboard Deployment ===== ===== Dashboard Deployment =====
-**Deploying the Dashboard on Server*+====Deploying the Dashboard on Server==== 
-  ​* Follow the following steps to for deploying the dashboard on a server+**Follow the following steps to for deploying the dashboard on a server**
     - Install and Configure VirtualEnv and VirtualEnvWrapper     - Install and Configure VirtualEnv and VirtualEnvWrapper
       - sudo apt-get install python-pip (skip this if pip already installed)       - sudo apt-get install python-pip (skip this if pip already installed)
Line 80: Line 80:
       - sudo apt-get install python-dev       - sudo apt-get install python-dev
       - sudo pip install uwsgi       - sudo pip install uwsgi
-      - quickly test uWSGI with: uwsgi --http :8080 --home /​home/​**user**/​Env/​dashboard --chdir /​home/​**user**/​dashboard/​dashboard -w dashboard.wsgi+      - quickly test uWSGI with: uwsgi --http :8080 --home /​home/​**user**/​Env/​dashboard --chdir /​home/​**user**/​dashboard/​dashboard -w dashboard.wsgi ​(in the currently deployed dashboard, **user** is replaced with **control_tower**)
       - sudo mkdir -p /​etc/​uwsgi/​sites       - sudo mkdir -p /​etc/​uwsgi/​sites
       - cd /​etc/​uwsgi/​sites       - cd /​etc/​uwsgi/​sites
Line 119: Line 119:
     location = /​favicon.ico { access_log off; log_not_found off; }     location = /​favicon.ico { access_log off; log_not_found off; }
     location /static/ {     location /static/ {
-        root /​home/​user/​dashboard/​dashboard;​+        root /home/**user**/​dashboard/​dashboard;​
     }     }
  
     location / {     location / {
         include ​        ​uwsgi_params;​         include ​        ​uwsgi_params;​
-        uwsgi_pass ​     unix:/​home/​user/​dashboard/​dashboard/​dashboard.sock;​+        uwsgi_pass ​     unix:/home/**user**/​dashboard/​dashboard/​dashboard.sock;​
     }     }
 }</​code>​ }</​code>​
  • weatherbox/dashboard/start.1494477821.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)