Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 1,258
    • Issues 1,258
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Wiki
  • standalone

standalone · Changes

Page history
Update standalone authored Dec 13, 2021 by bgm's avatar bgm
Hide whitespace changes
Inline Side-by-side
standalone.md
View page @ f3e0e875
......@@ -126,16 +126,7 @@ $civicrm_setting['domain']['userFrameworkResourceURL'] = 'https://civi.example.o
## Initialize the database
### Using install files from an existing install
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
### Using GenCode
* Manually create a civicrm.config.php in vendor/civicrm/civicrm-core
......@@ -173,6 +164,13 @@ if ( $error == false ) {
* 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).
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
(adapt to your environment)
......
Clone repository
  • CiviCRM v5.49 Schedule Reminder Notice
  • CiviEvent v5.47 Timezone Notice
  • Event Time Zone Implementation Planning
  • Replacing AngularJS
  • Testy tests
  • afform security
  • Home
  • issue labels
  • message templates
  • sample data
  • standalone
  • utf8mb4