Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:other-ext-apps:django-web-framework-with-gunicornn [2017/08/30 12:35] Usman Nasir [Requirments] |
litespeed_wiki:other-ext-apps:django-web-framework-with-gunicornn [2017/08/30 18:41] (current) Usman Nasir [Step 6: Static Content!] |
||
---|---|---|---|
Line 3: | Line 3: | ||
On a shared hosting environment with cPanel/WHM installed, we can use Litespeed Enterprise to host Django app on per account basis by proxying content to gunicorn. | On a shared hosting environment with cPanel/WHM installed, we can use Litespeed Enterprise to host Django app on per account basis by proxying content to gunicorn. | ||
- | ==== Requirements ==== | ||
- | |||
- | * You must have a server with cPanel/WHM installed. | ||
- | * One live domain. | ||
- | * Litespeed Enterprise installed on top of WHM. | ||
====== Step 1: Create Django Project ====== | ====== Step 1: Create Django Project ====== | ||
Line 179: | Line 174: | ||
</code> | </code> | ||
- | This will move folder ''static'' to its parent folder, and LiteSpeed can now easily serve static content. That's all, you can now visit your domain and it should start service your Django project. | + | This will move folder ''static'' to its parent folder, and LiteSpeed can now easily serve static content. That's all, you can now visit your domain and it should start serving your Django project. |