Skip to content

SahilKhera14/Website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Ways of our World

Deployment

Our site is deployed on a Linode server and runs behind nginx using fastcgi. Everything is located in /django/bases/. This guide was useful in deploying the site. Fastcgi spawns a number of processes so to keep track of which ones it spawns, start it with ./manage.py runfcgi host=127.0.0.1 port=8080 pidfile=django.pid. The pidfile is to keep track of the process ids spawned by fastcgi. Check out the django docs to learn about serving static files. Restart nginx with /etc/init.d/nginx restart and restart django with /etc/init.d/django restart. Restarting django reloads all django/FastCGI projects at once.

When Things Go Wrong

Check out this if you're having trouble with the path info env variable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 32.6%
  • CSS 28.2%
  • JavaScript 23.6%
  • HTML 15.6%