Skip to content

joostvunderink/carnique_site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting a dev server to work

Prepare a virtual environment:

  • sudo apt-get install virtualenv
  • mkdir ~/cnq
  • cd ~/cnq
  • virtualenv cnqvenv
  • source cnqvenv/bin/activate
  • pip install django

Get the Carnique site and prepare a test database:

Edit carnique/settings/dev.py and change the bottom part to:

TEMPLATE_DIRS = (
    '/home/<username>/cnq/carnique_site/carnique/templates',
)

Then run the server, for example:

  • python manage.py runserver
  • python manage.py runserver 192.168.42.1:8123

Releases

No releases published

Packages

No packages published