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
Last revision Both sides next revision
ralph [2017/06/29 23:07]
steve
ralph [2017/06/30 14:58]
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>​
 +
 +Create a MySQL user:
 +
 +<​code>​
 +CREATE DATABASE ralph;
 +GRANT ALL PRIVILEGES ON ralph.* TO '​ralph'​@'​localhost'​ IDENTIFIED BY '​o-hai-ralph'​ WITH GRANT OPTION;
 +</​code>​
 +
 +Update ''​.bashrc''​ to source virtualenv settings:
 +
 +<​code>​
 +source /​opt/​ralph/​ralph-core/​bin/​activate
 +</​code>​
 +
 +Set up migration and database:
 +
 +<​code>​
 +ralph migrate
 +ralph sitetree_resync_apps
 +</​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''​