Update standalone authored by bgm's avatar bgm
......@@ -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)
......
......