An installable extension.
- Twilio
- Spryng
- sms77
- smstools
- SerwerSms
- Verimor
- GatewayAPI
- Install the extension.
- At Administration > SMS, select the needed SMS provider. Specify From Number (if needed).
- At Administration > Integration, open the needed SMS provider and entered required credentials.
Create config.json file in the root directory. You can copy config-default.json and rename it to config.json.
When reading, this config will be merged with config-default.json. You can override default parameters in the created config.
Parameters:
- espocrm.repository - from what repository to fetch EspoCRM;
- espocrm.branch - what branch to fetch (
stableis set by default); you can specify version number instead (e.g.5.9.2); - database - credentials of the dev database;
- install.siteUrl - site url of the dev instance;
- install.defaultOwner - a webserver owner (important to be set right);
- install.defaultGroup - a webserver group (important to be set right).
You can override EspoCRM config. Create config.php in the root directory of the repository. This file will be applied after EspoCRM installation (when building).
Example:
<?php
return [
'useCacheInDeveloperMode' => true,
];After building, EspoCRM instance with installed extension will be available at site directory. You will be able to access it with credentials:
- Username: admin
- Password: 1
- You need to have node, npm, composer installed.
- Run
npm install. - Create a database. The database name is set in the config file.
It will download EspoCRM (from the repository specified in the config), then build and install it. Then it will install the extension.
Command:
node build --all
Note: It will remove a previously installed EspoCRM instance, but keep the database intact.
You need to run this command every time you make changes in src directory and you want to try these changes on Espo instance.
Command:
node build --copy
Command:
node build --extension
The package will be created in build directory.
Note: The version number is taken from package.json.
- Do development in
srcdir. - Run
node build --copy. - Test changes in EspoCRM instance at
sitedir.
You need to set the following paths to be ignored in your IDE:
buildsite/buildsite/custom/Espo/Modules/SmsProviderssite/tests/unit/Espo/Modules/SmsProviderssite/tests/integration/Espo/Modules/SmsProviders
Change a license in LICENSE file. The current license is intended for scripts of this repository. It's not supposed to be used for code of your extension.