Skip to content

karabijavad/boricide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boricide

requirements

  • in /var/www/boricide/, execute 'virtualenv .'
  • pip install -r requirements.txt
  • a2enmod wsgi headers

WSGI set up: apache vhost example

WSGIPythonHome /home/javad/boricide/

NameVirtualHost showshows.net ServerName showshows.net ServerAlias www.showshows.net

Alias /static/     /home/javad/boricide/static/

Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers "accept, authorization, origin, Content-Type"
Header set Access-Control-Allow-Methods "POST, PUT, PATCH, DELETE, GET"

WSGIPassAuthorization On
WSGIScriptAlias / /home/javad/boricide/boricide/wsgi.py

getting it up and running

  • set above vhost in apache configuration (replacing '/home/javad/boricide/' with project directory, and 'boricide' virtual host name as necessary)
  • set boricide/local_settings.py accordingly
  • ./manage.py syncdb
  • ./manage.py collectstatic

About

API to serve concert data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages