Skip to content

McCourtRC/socialAuthDjangoSite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django website - basic

DEVELOPMENT INSTALLATIONS:

  • Virtualenv '[sudo] easy_install virtualenv' , (cd to dir for virtual env and 'virtualenv .')

SERVER INSTALLATIONS:

PROJECT INSTALLATIONS:

TODO BEFORE PRODUCTION:

  • Debug set DEBUG to False in settings , remove static settings set for settings.DEBUG, update ALLOWED_HOSTS
  • Email set valid email in settings (may require unlock captcha), update activation_email.txt
  • Auth set consumer secret and key values for third party authentication
  • STATIC/MEDIA set up static and media servers in settings
  • PostgreSQL set up database in settings
  • Sites update sites in admin page
  • Custom auth https://codingforentrepreneurs.com/projects/simple-custom-auth/, https://codingforentrepreneurs.com/projects/django-allauth/, references to create custom authentication
  • Backend Django query sets for views.py
  • Cleanup remove unnecessary debug code from head.html

PRODUCTION

  •                         delete local.py !!!
    
  •                         set production settings
    
  •                         create error pages 400, 403, 404, 500.html
    
  •                         update ADMINS in settings for 500 alerts
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published