... | @@ -126,16 +126,7 @@ $civicrm_setting['domain']['userFrameworkResourceURL'] = 'https://civi.example.o |
... | @@ -126,16 +126,7 @@ $civicrm_setting['domain']['userFrameworkResourceURL'] = 'https://civi.example.o |
|
|
|
|
|
## Initialize the database
|
|
## Initialize the database
|
|
|
|
|
|
### Using install files from an existing install
|
|
### Using GenCode
|
|
|
|
|
|
Copied `sql/civicrm.mysql` from a Drupal8 codebase, then:
|
|
|
|
|
|
|
|
```
|
|
|
|
cat vendor/civicrm/civicrm-core/sql/civicrm.mysql | mysql -u civitest -p civitest
|
|
|
|
cat vendor/civicrm/civicrm-core/sql/civicrm_generated.mysql | mysql -u civitest -p civitest
|
|
|
|
```
|
|
|
|
|
|
|
|
### Using GenCode instead
|
|
|
|
|
|
|
|
* Manually create a civicrm.config.php in vendor/civicrm/civicrm-core
|
|
* Manually create a civicrm.config.php in vendor/civicrm/civicrm-core
|
|
|
|
|
... | @@ -173,6 +164,13 @@ if ( $error == false ) { |
... | @@ -173,6 +164,13 @@ if ( $error == false ) { |
|
* Run `cd xml && php GenCode.php 0 0 Standalone`
|
|
* Run `cd xml && php GenCode.php 0 0 Standalone`
|
|
* Then you can use the civicrm.mysql and civicrm_data.mysql files in sql (or if you want sample data you can use civicrm_generated.mysql instead of civicrm_data.mysql).
|
|
* Then you can use the civicrm.mysql and civicrm_data.mysql files in sql (or if you want sample data you can use civicrm_generated.mysql instead of civicrm_data.mysql).
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
cat vendor/civicrm/civicrm-core/sql/civicrm.mysql | mysql -u civitest -p civitest
|
|
|
|
cat vendor/civicrm/civicrm-core/sql/civicrm_data.mysql | mysql -u civitest -p civitest
|
|
|
|
```
|
|
|
|
|
|
# Example nginx vhost
|
|
# Example nginx vhost
|
|
|
|
|
|
(adapt to your environment)
|
|
(adapt to your environment)
|
... | | ... | |