
Use the instructions below to set up an r3 working environment:
Create an r3 working directory:
$ mkdir ~/r3
Have r3 prepare the directory for you.
$ r3 setup setuphome ~/r3
Create an environment variable to remind r3 where its home is.
$ export R3HOME=~/r3
Set up your databases:
To use r3 against MySQL,
edit $R3HOME/r3.conf.xml and change the
<DB> section to refer to mysql with the
appropriate host, dbname etc.
![]() |
Note |
|---|---|
If you are setting up the MySQL database yourself, ensure that you have correct permissions, etc, and that a MySQL server is running. |
For either MySQL or SQLite, create local databases using the
$R3HOME environment variable.
$ r3 setup installdb
Create your product, intl, and target:
$ r3 dim product create myproduct $ r3 dim intl create us $ r3 target create myproduct/us/index.html