Fix for exporting a large number of lists.
[openemr.git] / CONTRIBUTING.md
blob835a8975024856830c0ff982e949d512eebfd8cc
1 Thank you for your contribution. OpenEMR (and global healthcare) continues to get better because of people like you!
3 The maintainers of OpenEMR want to get your pull request in as seamlessly as possible, so please ensure your code is consistent with our [development policies](https://open-emr.org/wiki/index.php/Development_Policies).
5 ## Code Contributions (local development)
7 You will need a "local" version of OpenEMR to make changes to the source code. The easiest way to do this is with [Docker](https://hub.docker.com/r/openemr/openemr/):
9 ---
11 ### Starting with OpenEMR Development Docker Environment
13 1. [Create your own fork of OpenEMR](https://github.com/openemr/openemr/fork) (you will need a GitHub account) and `git clone` it to your local machine.
14     - If you haven't already, [install git](https://git-scm.com/downloads) for your system
15         - (optional) If you want to set up the base services(e.g. git, docker, docker-compose, openemr-cmd, minkube and kubectl) easily, please try [openemr-env-installer](https://github.com/openemr/openemr-devops/tree/master/utilities/openemr-env-installer)
16     - (optional) It's best to also add an `upstream` origin to keep your local fork up to date. [Check out this guide](https://oneemptymind.wordpress.com/2018/07/11/keeping-a-fork-up-to-date/) for more info.
17 2. `cd openemr/docker/development-easy` (if you are running this on Raspberry Pi, then instead do `cd openemr/docker/development-easy-arm32` or `cd openemr/docker/development-easy-arm64`)
18     - If you haven't already, [install Docker](https://docs.docker.com/install/) and [install compose](https://docs.docker.com/compose/install/) for your system
19     - (optional) If you want to troubleshoot with the below steps easier, please also [install openemr-cmd](https://github.com/openemr/openemr-devops/tree/master/utilities/openemr-cmd) for your system
20     - (optional) If you want to monitor and easily manage the docker environment, please also [install openemr-monitor](https://github.com/openemr/openemr-devops/tree/master/utilities/openemr-monitor) and [install portainer](https://github.com/openemr/openemr-devops/tree/master/utilities/portainer) for your system
21     - (optional) If you want to migrate the running docker environment, please try [openemr-env-migrator](https://github.com/openemr/openemr-devops/tree/master/utilities/openemr-env-migrator)
22     - (optional) If you want to set up with orchestration tool, please try [OpenEMR Kubernetes Orchestrations](https://github.com/openemr/openemr-devops/tree/master/kubernetes/minikube)
23 3. Run `docker-compose up` from your command line
24     - When the build is done, you'll see the following message:
25     ```sh
26     openemr_1  | Love OpenEMR? You can now support the project via the open collective:
27     openemr_1  |  > https://opencollective.com/openemr/donate
28     openemr_1  |
29     openemr_1  | Starting cron daemon!
30     openemr_1  | Starting apache!
31     ```
32 4. Navigate to `http://localhost:8300/` or `https://localhost:9300/` to login as `admin`. Password is `pass`.
33 5. If you wish to connect to the sql database, this docker environment provides the following 2 options:
34     - Navigate to `http://localhost:8310/` where you can login into phpMyAdmin.
35     - Or you can directly connect to port 8320 via your favorite sql tool (Mysql Workbench etc.).
36     - Use `username/user`: openemr, `password`: openemr .
37 6. Make changes to any files on your local file system. Most changes will appear after a refresh of the page or iFrame you're working on.
38     - An exception to this is if making changes to styling scripts in interface/themes/. In that case will need to clear web browser cache and run the following command to rebuild the theme files:
39       ```sh
40       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools build-themes'
41       ```
42 7. When you're done, it's best to clean up after yourself with `docker-compose down -v`
43     - If you don't want to build from scratch every time, just use `docker-compose down` so your next `docker-compose up` will use the cached volumes.
44 8. To ensure you are using the most recent dockers, recommend running below set of commands intermittently:
45     ```console
46     docker pull openemr/openemr:flex
47     docker pull mariadb:10.6
48     docker pull phpmyadmin/phpmyadmin
49     docker pull couchdb
50     docker pull openemr/dev-ldap:easy
51     ```
52 9. [Submit a PR](https://github.com/openemr/openemr/compare) from your fork into `openemr/openemr#master`!
54 We look forward to your contribution...
56 ---
58 ### Advanced Use of OpenEMR Development Docker Environment
60 The OpenEMR development docker environment has a very rich advanced feature set. See below Index for links to all the cool advanced stuff:
62 **Index for Advanced Use of OpenEMR Development Docker Environment**
64 ---
66 1. [Xdebug and profiling](#xdebug)
67 2. [API development and testing](#api)
68 3. [Testing other PHP versions](#other_php_versions)
69 4. [Php syntax checking, psr12 checking, and automated testing](#dev_tools_tests)
70 5. [Run the entire dev tool suite](#dev_tools_suite)
71 6. [Run only all the automated tests](#dev_tools_auto)
72 7. [Resetting OpenEMR and loading demo data](#dev_tools_reset)
73 8. [Backup and restore OpenEMR data](#dev_tools_backup)
74 9. [Send/receive snapshots](#dev_tools_send)
75 10. [Create and add random patient data](#dev_tools_randompatients)
76 11. [Add multisite bank](#dev_tools_bankmultisite)
77 12. [Turn on and turn off support for multisite feature in setup.php](#dev_tools_multisite)
78 13. [List the current multisite](#dev_tools_listmultisite)
79 14. [Change the database character set and collation](#dev_tools_charset)
80 15. [Test ssl certificate and force/unforce https](#dev_tools_https)
81 16. [Place/remove testing sql ssl certificate and testing sql ssl client key/cert](#dev_tools_ssl)
82 17. [CouchDB integration](#dev_tools_couchdb)
83 18. [LDAP integration](#dev_tools_ldap)
85 ---
87 1. <a name="xdebug"></a>Xdebug and profiling is supported for PHPStorm and VSCode.
88     - Firefox/Chrome install xdebug helper add on and enable
89     - PHPStorm Settings->Language & Frameworks->PHP->Debug
90         - Start listening
91         - Untoggle "Break at first line in PHP scripts"
92         - Untoggle both settings that start with "Force Break at first line..."
93         - See [these images for more detail](https://github.com/openemr/openemr-devops/pull/283#issuecomment-779798156)
94     - VSCode
95         - Listen for XDebug
96         - Use this `launch.json` [template](https://github.com/openemr/openemr-devops/issues/285#issuecomment-782899207)
97     - Make sure port 9003 is open on your host operating system
98     - Profiling output can be found in /tmp directory in the docker. Following will list the profiling output files:
99       ```sh
100       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools list-xdebug-profiles'
101       ```
102     - To check Xdebug log:
103       ```sh
104       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools xdebug-log'
105       ```
106 2. <a name="api"></a>API development and testing.
107     - Swagger is including in OpenEMR to ease API documentation, development, and testing.
108     - The following command will update the API documentation (derive documentation from [_rest_routes.inc.php](_rest_routes.inc.php) to [swagger/openemr-api.yaml](swagger/openemr-api.yaml)):
109       ```sh
110       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools build-api-docs'
111       ```
112     - Can go to Swagger at [https://localhost:9300/swagger](https://localhost:9300/swagger) where it is super easy to test the API:
113         - First, click on 'Authorize' button.
114         - Then click 'Select All' scopes.
115         - Can then do the following from command line to get a client id and secret, which then can copy/paste into the fields:
116           ```sh
117           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools register-oauth2-client'
118           ```
119         - Then click 'Authorize' button and follow the flow and before you know it, you will be authorized to test the api endpoints!
120     - There is also a mechanism to allow use of the above Swagger tool with multisite.
121         - Before going to the Swagger gui linked above, run the following command (after running below command, the Swagger gui will then be configured to work with the selected multisite):
122           ```sh
123           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools set-swagger-to-multisite <multisite-name>'
124           ```
125         - To collect a client id and secret for the selected multisite, can then do:
126           ```sh
127           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools register-oauth2-client <multisite-name>'
128           ```
129         - When done testing with Swagger on the selected multisite, recommend setting swagger back to the default multisite to avoid changes to the swagger configuration script showing up in your local git repository:
130           ```sh
131           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools set-swagger-to-multisite'
132           ```
133     - There is also a dev tool to make it easy to test the API on the online OpenEMR demo farm. For example, what if you wanted to test the API at [https://eleven.openemr.io/a/openemr](https://eleven.openemr.io/a/openemr):
134         - Go to [https://eleven.openemr.io/a/openemr/swagger](https://eleven.openemr.io/a/openemr/swagger/index.html) and follow the Swagger gui flow above. The following command can be used to get a client id and secret from that online demo:
135           ```sh
136           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools register-oauth2-client-demo https://eleven.openemr.io/a/openemr'
137           ```
138 3. <a name="other_php_versions"></a>Testing other PHP versions.
139     - The standard `flex` docker used in the easy development environments is PHP 8.0. This can be modified by changing the image (`image: openemr/openemr:flex`) used in the docker-compose.yml script. To use PHP 7.4 , then just need to change it to `image: openemr/openemr:flex-3.15`.
140 4. <a name="dev_tools_tests"></a>Php syntax checking, psr12 checking, and automated testing.
141     - To check PHP error logs:
142       ```sh
143       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools php-log'
144       ```
145     - To create a report of PSR12 code styling issues (this takes several minutes):
146       ```sh
147       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools psr12-report'
148       ```
149     - To fix PSR12 code styling issues (this takes several minutes):
150       ```sh
151       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools psr12-fix'
152       ```
153     - To create a report of theme styling issues:
154       ```sh
155       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools lint-themes-report'
156       ```
157     - To fix theme styling issues:
158       ```sh
159       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools lint-themes-fix'
160       ```
161     - To check PHP parsing errors (this takes several minutes):
162       ```sh
163       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools php-parserror'
164       ```
165     - To run unit testing:
166       ```sh
167       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools unit-test'
168       ```
169     - To run api testing:
170       ```sh
171       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools api-test'
172       ```
173     - To run e2e testing:
174       ```sh
175       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools e2e-test'
176       ```
177     - To run services testing:
178       ```sh
179       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools services-test'
180       ```
181     - To run fixtures testing:
182       ```sh
183       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools fixtures-test'
184       ```
185     - To run validators testing:
186       ```sh
187       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools validators-test'
188       ```
189     - To run controllers testing:
190       ```sh
191       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools controllers-test'
192       ```
193     - To run common testing:
194       ```sh
195       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools common-test'
196       ```
197 5. <a name="dev_tools_suite"></a>Run the entire dev tool suite (PSR12 fix, lint themes fix, PHP parse error, unit/API/e2e/services/fixtures/validators/controllers/common tests) in one command, run
198     ```sh
199     docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools clean-sweep'
200     ```
201 6. <a name="dev_tools_auto"></a>Run only all the automated tests (unit/API/e2e/services/fixtures/validators/controllers/common tests) in one command, run
202     ```sh
203     docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools clean-sweep-tests'
204     ```
205 7. <a name="dev_tools_reset"></a>Resetting OpenEMR and loading demo data.
206     - To reset OpenEMR only (then can reinstall manually via setup.php in web browser):
207       ```sh
208       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools dev-reset'
209       ```
210         - When running setup.php, need to use `mysql` for 'Server Host', `root` for 'Root Password', and `%` for 'User Hostname'.
211     - To reset and reinstall OpenEMR:
212       ```sh
213       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools dev-reset-install'
214       ```
215     - To reset and reinstall OpenEMR with demo data (this includes several users with access controls setup in addition to patient portal logins. [See HERE for those credentials](https://www.open-emr.org/wiki/index.php/Development_Demo#Demo_Credentials).):
216       ```sh
217       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools dev-reset-install-demodata'
218       ```
219         - hint: this is also a great way to test any changes a developer has made to the sql upgrade stuff (ie. such as sql/5_0_2-to-6_0_0_upgrade.sql)
220 8. <a name="dev_tools_backup"></a>Backup and restore OpenEMR data (database and data on drive) via snapshots.
221     - Create a backup snapshot (using `example` below, but can use any alphanumeric identifier):
222       ```sh
223       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools backup example'
224       ```
225     - Restore from a snapshot (using `example` below, but can use any alphanumeric identifier)
226       ```sh
227       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools restore example'
228       ```
229     - To list the snapshots
230       ```sh
231       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools list-snapshots'
232       ```
233 9. <a name="dev_tools_send"></a>Send/receive snapshots (via capsules) that are created above in item 11.
234     - Here is how to grab a capsule from the docker, which can then store or share with friends.
235         - List the capsules:
236           ```sh
237           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools list-capsules'
238           ```
239         - Copy the capsule from the docker to your current directory (using `example.tgz` below):
240           ```sh
241           docker cp $(docker ps | grep _openemr | cut -f 1 -d " "):/snapshots/example.tgz .
242           ```
243     - Here is how to send a capsule into the docker.
244         - Copy the capsule from current directory into the docker (using `example.tgz` below):
245           ```sh
246           docker cp example.tgz $(docker ps | grep _openemr | cut -f 1 -d " "):/snapshots/
247           ```
248         - Restore from the new shiny snapshot (using `example` below):
249           ```sh
250           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools restore example'
251           ```
252         - Ensure run upgrade to ensure will work with current version OpenEMR:
253           ```sh
254           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools upgrade 5.0.2'
255           ```
256 10. <a name="dev_tools_randompatients"></a>Create and add random patient data. This will use synthea to create random patients that are then imported into OpenEMR. You can choose the number of patients. Note that each patient will take several seconds.
257      - Create and add 100 random patients (defaults to development mode set to true, which is set be default to true; development mode will markedly improve performance by bypassing the import of the ccda document and bypassing the use of the audit_master and audit_details tables and will directly import the new patient data from the ccda. Note this should never be done on sites that already contain real data/use, and it will also turn off the audit log during the import.):
258        ```sh
259        docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools import-random-patients 100'
260        ```
261        or
262        ```sh
263        docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools import-random-patients 100 true'
264        ```
265     - Create and add 100 random patients (with development mode set to false)
266        ```sh
267        docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools import-random-patients 100 false'
268        ```
269 11. <a name="dev_tools_bankmultisite"></a>Create a bank of multisites with selected number of multisites that are all labelled from run1..runx. It will clone from the default instance. This can be helpful for testing of multisites and other larger scale testing.
270     - Create 5 multisites (will be run1, run2, run3, run4, run5):
271       ```sh
272       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools generate-multisite-bank 5'
273       ```
274 12. <a name="dev_tools_multisite"></a>Turn on and turn off support for multisite feature (to allow setting up multisites in setup.php script).
275     - Turn on support for multisite:
276       ```sh
277       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools enable-multisite'
278       ```
279     - Turn off support for multisite:
280       ```sh
281       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools disable-multisite'
282       ```
283 13. <a name="dev_tools_listmultisite"></a>The available multsites can be listed via following command:
284     ```sh
285     docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools list-multisites'
286     ```
287 14. <a name="dev_tools_charset"></a>Change the database character set and collation (character set is the encoding that is used to store data in the database; collation are a set of rules that the database uses to sort the stored data).
288     - Best to demonstrate this devtool with examples.
289         - Set character set to utf8mb4 and collation to utf8mb4_general_ci (this is default for OpenEMR 6 and higher):
290           ```sh
291           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools change-encoding-collation utf8mb4 utf8mb4_general_ci'
292           ```
293         - Set character set to utf8mb4 and collation to utf8mb4_unicode_ci:
294           ```sh
295           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools change-encoding-collation utf8mb4 utf8mb4_unicode_ci'
296           ```
297         - Set character set to utf8mb4 and collation to utf8mb4_vietnamese_ci:
298           ```sh
299           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools change-encoding-collation utf8mb4 utf8mb4_vietnamese_ci'
300           ```
301         - Set character set to utf8 and collation to utf8_general_ci (this is default for OpenEMR 5 and lower):
302           ```sh
303           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools change-encoding-collation utf8 utf8_general_ci'
304           ```
305 15. <a name="dev_tools_https"></a>Test ssl certificate (to test client based certificates and revert back to default self signed certificate) and force/unforce https.
306     - To test client based certificates, create a zip package of the certificate in OpenEMR at Administration->System->Certificates. Then can import this zip package (example `ssl.zip`) into the docker via:
307       ```sh
308       docker cp ssl.zip $(docker ps | grep _openemr | cut -f 1 -d " "):/certs/
309       ```
310     - To list the available certificate packages on docker:
311       ```sh
312       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools list-client-certs'
313       ```
314     - To install and configure a certificate package (example `ssl`):
315       ```sh
316       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools setup-client-cert ssl'
317       ```
318     - To revert back to selfsigned certicates (ie. revert the changes required for client based certificates):
319       ```sh
320       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools on-self-signed-cert'
321       ```
322     - To force https in apache script via redirect:
323       ```sh
324       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools force-https'
325       ```
326     - To revert the changes that forced https in apache script:
327       ```sh
328       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools un-force-https'
329       ```
330 16. <a name="dev_tools_ssl"></a>Place/remove testing sql ssl certificate and testing sql ssl client key/cert.
331     - Place the testing sql ssl CA cert:
332       ```sh
333       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools sql-ssl'
334       ```
335     - Remove the testing sql ssl CA cert:
336       ```sh
337       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools sql-ssl-off'
338       ```
339     - Place the testing sql ssl CA cert and testing sql ssl client key/cert:
340       ```sh
341       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools sql-ssl-client'
342       ```
343     - Remove the testing sql ssl CA cert and testing sql ssl client key/cert:
344       ```sh
345       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools sql-ssl-client-off'
346       ```
347 17. <a name="dev_tools_couchdb"></a>CouchDB integration.
348     - In OpenEMR, CouchDB is an option for the patients document storage. For this reason, a CouchDB docker is included in this OpenEMR docker development environment. You can visit the CouchDB GUI directly via http://localhost:5984/_utils/ or https://localhost:6984/_utils/ with username `admin` and password `password`. You can configure OpenEMR to use this CouchDB docker for patient document storage in OpenEMR at Administration->Globals->Documents:
349         - Document Storage Method->CouchDB
350     - After running the following devtools, 'dev-reset', 'dev-install', 'dev-reset-install', 'dev-reset-install-demodata', 'restore-snapshot', then need to restart the couchdb docker via the following command:
351         ```sh
352         docker restart $(docker ps | grep _couchdb_1 | cut -f 1 -d " ")
353         ```
354     - Developer tools to place/remove testing couchdb ssl certificate and testing couchdb ssl client key/cert.
355         - Place the testing couchdb ssl CA cert:
356           ```sh
357           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools couchdb-ssl'
358           ```
359         - Remove the testing couchdb ssl CA cert:
360           ```sh
361           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools couchdb-ssl-off'
362           ```
363         - Place the testing couchdb ssl CA cert and testing couchdb ssl client key/cert:
364           ```sh
365           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools couchdb-ssl-client'
366           ```
367         - Remove the testing couchdb ssl CA cert and testing couchdb ssl client key/cert:
368           ```sh
369           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools couchdb-ssl-client-off'
370           ```
371 18. <a name="dev_tools_ldap"></a>LDAP integration.
372     - In OpenEMR, LDAP is an option for authentication. If this is turned on, then this will be supported for the `admin` user, which will use the following password: `admin`
373     - Turn on LDAP:
374       ```sh
375       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools enable-ldap'
376       ```
377     - Turn off LDAP:
378       ```sh
379       docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools disable-ldap'
380       ```
381     - Developer tools to place/remove testing ldap tls/ssl certificate and testing ldap tls/ssl client key/cert.
382         - Place the testing ldap tls/ssl CA cert:
383           ```sh
384           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools ldap-ssl'
385           ```
386         - Remove the testing ldap tls/ssl CA cert:
387           ```sh
388           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools ldap-ssl-off'
389           ```
390         - Place the testing ldap tls/ssl CA cert and testing ldap tls/ssl client key/cert:
391           ```sh
392           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools ldap-ssl-client'
393           ```
394         - Remove the testing ldap tls/ssl CA cert and testing ldap tls/ssl client key/cert:
395           ```sh
396           docker exec -i $(docker ps | grep _openemr | cut -f 1 -d " ") sh -c '/root/devtools ldap-ssl-client-off'
397           ```
399 ### Non-docker Use
401 If you do not want to use Docker, you can always install OpenEMR directly on your local environment. This will require installing additional dependencies for your operating system. For more info see [OpenEMR Development Versions](https://open-emr.org/wiki/index.php/OpenEMR_Installation_Guides#OpenEMR_Development_Versions) on the wiki.
403 ## Financial contributions
405 We also welcome financial contributions in full transparency on our [open collective](https://opencollective.com/openemr).
406 Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed.
408 ## Credits
410 ### Contributors
412 Thank you to all the people who have already contributed to openemr!
413 <a href="https://github.com/openemr/openemr/graphs/contributors"><img src="https://opencollective.com/openemr/contributors.svg?width=890" /></a>
415 ### Backers
417 Thank you to all our backers! [[Become a backer](https://opencollective.com/openemr#backer)]
419 <a href="https://opencollective.com/openemr#backers" target="_blank"><img src="https://opencollective.com/openemr/backers.svg?width=890"></a>
421 ### Sponsors
423 Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/openemr#sponsor))
425 <a href="https://opencollective.com/openemr/sponsor/0/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/0/avatar.svg"></a>
426 <a href="https://opencollective.com/openemr/sponsor/1/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/1/avatar.svg"></a>
427 <a href="https://opencollective.com/openemr/sponsor/2/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/2/avatar.svg"></a>
428 <a href="https://opencollective.com/openemr/sponsor/3/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/3/avatar.svg"></a>
429 <a href="https://opencollective.com/openemr/sponsor/4/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/4/avatar.svg"></a>
430 <a href="https://opencollective.com/openemr/sponsor/5/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/5/avatar.svg"></a>
431 <a href="https://opencollective.com/openemr/sponsor/6/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/6/avatar.svg"></a>
432 <a href="https://opencollective.com/openemr/sponsor/7/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/7/avatar.svg"></a>
433 <a href="https://opencollective.com/openemr/sponsor/8/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/8/avatar.svg"></a>
434 <a href="https://opencollective.com/openemr/sponsor/9/website" target="_blank"><img src="https://opencollective.com/openemr/sponsor/9/avatar.svg"></a>