-
Notifications
You must be signed in to change notification settings - Fork 448
Development
This application uses Open Source components. You can find the source code of their open source projects along with license information below. We acknowledge and are grateful to these developers for their contributions to open source.
ChurchCRM is a fork of ChurchInfo, which is a fork from InfoCentral. Refer to the ChurchInfo and InfoCentral project sites for additional credits and history.
Mac Fresh Install - This was completed/tested on macOS Ventura.
-
Open the Mac App Store and download/install Xcode
- This takes a long time to download; start it first
- Open Xcode accept agreement
- Click Install
- Close Xcode
-
- Login with a GitHub account
- Clone ChurhCRM/CRM to a local dir
-
- No Need to create an account
- Install Homebrew
- Install Node/NPM:
brew install node
{.sh} - Install Composer:
brew install composer
{.sh}
In the ChurchCRM source directory run:
npm install
Note: if you are running Apple Silicon (M1/M2 processor) you will get errors with
node-sass
.
For example:
npm ERR! Binary has a problem: Error: dlopen(/path/to/ChurchCRM/node_modules/node-sass/vendor/darwin-arm64-120/binding.node, 0x0001):
tried:
'/path/to/ChurchCRM/node_modules/node-sass/vendor/darwin-arm64-120/binding.node' (not a mach-o file),
'/System/Volumes/Preboot/Cryptexes/OS/path/to/ChurchCRM/node_modules/node-sass/vendor/darwin-arm64-120/binding.node' (no such file),
'/path/to/ChurchCRM/node_modules/node-sass/vendor/darwin-arm64-120/binding.node' (not a mach-o file)'
If this happens, simply execute the following (fix courtesy of "m_kos" at Stack Overflow):
npm install node-sass@npm:sass
{.sh} (requires npm >6.9)
Start the application and test it locally:
-
npm run deploy
{.sh} -
npm run docker-test-start
{.sh} - Open your browser and visit http://localhost/ and log in with admin/changeme
Download an IDE
- PHP Storm is a great but paid
- Visual Studio Code is a free IDE