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,186
    • Issues 1,186
    • 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 21, 2021 by bgm's avatar bgm
Hide whitespace changes
Inline Side-by-side
standalone.md
View page @ 80456ba6
......@@ -56,31 +56,7 @@ chgrp www-data data/upload
chmod g+w data/upload
```
Old notes, the initial composer setup was:
```
composer config extra.enable-patching true
composer config minimum-stability dev
composer require civicrm/civicrm-core
composer require civicrm/civicrm-packages
```
Presumably we will want some sort of composer template, so that people can also build their own composer project. I created the `civicrm-standalone` git repo mostly to package the `index.php` and help setup the directories.
## civicrm.settings.php
The installer works and should set correct default paths. For reference, this was previously required:
```
$civicrm_setting['domain']['uploadDir'] = '/var/www/standalone/web/upload';
$civicrm_setting['domain']['customFileUploadDir'] = '/var/www/standalone/web/upload';
$civicrm_paths['civicrm.packages']['path'] = '/var/www/standalone/vendor/civicrm/civicrm-packages';
$civicrm_setting['domain']['userFrameworkResourceURL'] = 'https://civi.example.org/assets/civicrm/core';
# Not sure:
$civicrm_paths['civicrm.files']['path'] = '/var/www/standalone/web/persist';
$civicrm_paths['civicrm.bower']['path'] = '/var/www/standalone/web/assets/civicrm/core/bower_components';
```
About composer: Presumably we will want a composer template, so that people can also build their own composer project. The `mlutfy/civicrm-standalone` git repo was created mostly to package the `index.php` and help setup the directories, but also has an htaccess file, config template and other things to get started.
## Initialize the database
......@@ -186,7 +162,24 @@ server {
}
```
# Menubar notes
# Old notes
## civicrm.settings.php
The installer works and should set correct default paths. For reference, this was previously required:
```
$civicrm_setting['domain']['uploadDir'] = '/var/www/standalone/web/upload';
$civicrm_setting['domain']['customFileUploadDir'] = '/var/www/standalone/web/upload';
$civicrm_paths['civicrm.packages']['path'] = '/var/www/standalone/vendor/civicrm/civicrm-packages';
$civicrm_setting['domain']['userFrameworkResourceURL'] = 'https://civi.example.org/assets/civicrm/core';
# Not sure:
$civicrm_paths['civicrm.files']['path'] = '/var/www/standalone/web/persist';
$civicrm_paths['civicrm.bower']['path'] = '/var/www/standalone/web/assets/civicrm/core/bower_components';
```
## Menubar
(edit ML: this should be fixed in PR 22227)
......
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