Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
ralph [2017/06/30 14:56]
steve
ralph [2017/06/30 14:58]
steve
Line 9: Line 9:
 <​code>​ <​code>​
 useradd -m -s /bin/bash ralph 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>​ </​code>​