Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ralph [2017/06/30 14:56] steve |
ralph [2017/06/30 14:59] steve |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ralph ====== | ====== ralph ====== | ||
+ | * [[Python]] | ||
* [[Ubuntu]] | * [[Ubuntu]] | ||
Line 9: | Line 10: | ||
<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> | ||