Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
ralph [2017/06/29 23:06]
steve
ralph [2017/06/30 14:56]
steve
Line 4: Line 4:
  
 Note that installing the ''​.deb''​ file for Ralph will take a long time (15+ mins on my dual-core VirtualBox image). Note that installing the ''​.deb''​ file for Ralph will take a long time (15+ mins on my dual-core VirtualBox image).
 +
 +Create a ''​ralph''​ user on the system:
 +
 +<​code>​
 +useradd -m -s /bin/bash ralph
 +</​code>​
  
 Changes to runtime site can go in ''/​opt/​ralph/​ralph-core/​lib/​python3.4/​site-packages/​ralph/​settings/​prod.py''​ Changes to runtime site can go in ''/​opt/​ralph/​ralph-core/​lib/​python3.4/​site-packages/​ralph/​settings/​prod.py''​
  
 By default, ''​prod.py''​ will import settings from ''​ralph.settings''​. By default, ''​prod.py''​ will import settings from ''​ralph.settings''​.
- 
-== init script == 
  
 runserver script: runserver script:
Line 18: Line 22:
 /​opt/​ralph/​ralph-core/​bin/​ralph runserver 127.0.0.1:​8000 >> /​var/​log/​ralph/​ralph.log 2>&1 /​opt/​ralph/​ralph-core/​bin/​ralph runserver 127.0.0.1:​8000 >> /​var/​log/​ralph/​ralph.log 2>&1
 </​code>​ </​code>​
 +
 +init script:
  
 <​code>​ <​code>​