| | 22 | 4. You'll need to tell ADEI which setup to load, in this tutorial, we will load our test data called autogen. Create a "config.actual.php" with the following content: |
|---|
| | 23 | |
|---|
| | 24 | {{{ |
|---|
| | 25 | <?php |
|---|
| | 26 | $ADEI_SETUP = "autogen"; |
|---|
| | 27 | |
|---|
| | 28 | $ADEI_RELEASE = false; |
|---|
| | 29 | $LOGGER_LOG_REQUESTS = false; |
|---|
| | 30 | $LOGGER_LOG_OUTPUT = false; |
|---|
| | 31 | |
|---|
| | 32 | $ADEI_DB = array ( |
|---|
| | 33 | "host" => "localhost", |
|---|
| | 34 | "port" => 0, |
|---|
| | 35 | "database" => "adei", |
|---|
| | 36 | "user" => "adei", |
|---|
| | 37 | "password" => "adei" |
|---|
| | 38 | ); |
|---|
| | 39 | ?> |
|---|
| | 40 | }}} |
|---|
| | 41 | |
|---|
| | 42 | Notice that $ADEI_SETUP is pointing to autogen. This can be found at /setup under autogen folder. Here I have also created a mysql user called adei with password adei. If you're unfamiliar how to do this, please check this (https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql) |
|---|
| | 43 | |
|---|
| | 44 | 5. After this go to /system and run: |
|---|
| | 45 | |
|---|
| | 46 | {{{ |
|---|
| | 47 | php cache.php |
|---|
| | 48 | }}} |
|---|
| | 49 | |
|---|
| | 50 | This script will load the mock data into our mysql database. |
|---|
| | 51 | |
|---|
| | 52 | 6. Now when you refresh the page you will see this: |
|---|
| | 53 | |
|---|
| | 54 | [[Image(http://i947.photobucket.com/albums/ad311/nicolaisi/adei_autogen.png)]] |
|---|
| | 55 | |