Changes between Version 7 and Version 8 of ServerInstallation


Ignore:
Timestamp:
05/07/10 14:15:48 (10 years ago)
Author:
sander
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerInstallation

    v7 v8  
    4141 
    4242Next, copy the file {{{core.php.default}}} to {{{core.php}}}. Open the file in a text editor and adjust the [wiki:CoreConfiguration configuration settings]. 
     43 
     44Now you are ready to fill the default database. First, use the CakePHP shell to create a new database schema. Go to the {{{www/app}}} directory and run the following command: 
     45 
     46{{{ 
     47$ cd www/app 
     48$ ../cake/console/cake schema run create App 
     49}}} 
     50 
     51Follow the on-screen instructions to create the default schema. Next, you can import the default data, which you can find in {{{www/app/config/sql/default-data.sql}}}. There is no CakePHP command to import this. Use you favourite MySQL client like PhpMyAdmin or the commandline SQL client: 
     52 
     53{{{ 
     54$ mysql -u <username> -p <database-name> < config/sql/default-data.sql 
     55}}}