Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
weatherbox:dashboard:start [2017/05/11 04:50] 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 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> |