Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coloredcow/civicrm
https://github.com/coloredcow/civicrm
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/coloredcow/civicrm
- Owner: ColoredCow
- License: other
- Created: 2024-05-14T11:15:29.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T05:21:04.000Z (7 months ago)
- Last Synced: 2024-07-21T18:48:14.323Z (6 months ago)
- Language: PHP
- Size: 108 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# CiviCRM
## Preparing development environment
### Pre-requisite
1. PHP 8.x
2. WP-CLI
1. [Installing via Homebrew](https://make.wordpress.org/cli/handbook/guides/installing/#installing-via-homebrew) would be the easiest option for macOS users.
2. If not, all other installation options can be found in the same page.
3. MySQL 5.7.5+ or MariaDB 10.2+### Steps (from this repository)
#### WordPress site setup
First we will setup a WordPress site on top of which we will setup CiviCRM. For creating the WordPress site we will require a database.
1. Login to the MySQL terminal
```sh
mysql -u root -p
```1. From the MySQL terminal, create a database
```sql
create database civicrm;
exit
```1. Clone this repository
```sh
git clone https://github.com/coloredcow/civicrm.git
```1. Change to project root directory
```sh
cd civicrm
```1. Create the WordPress config file (**specify the correct database credentials**)
```sh
wp config create --dbname=civicrm --dbuser=root --dbpass=
```1. Install WordPress and create admin
```sh
wp core install --url=civicrm.test --title="CiviCRM" --admin_user=admin --admin_password=admin [email protected]
```1. Create a virtual host
```sh
valet link civicrm
```1. Secure the virtual host
```sh
valet secure civicrm
```#### Setup CiviCRM
1. Activate the plugin
```sh
wp plugin activate civicrm
```2. Go to `https://civicrm.test/wp-admin` and configure CiviCRM.
1. Check all the Components
2. And click on `Install CiviCRM`### Steps (from scratch)
> _You probably don't need to do it. @pokhiii has already done these and pushed it in this repository._
#### WordPress site setupFirst we will setup a WordPress site on top of which we will setup CiviCRM. For creating the WordPress site we will require a database.
1. Login to the MySQL terminal
```sh
mysql -u root -p
```1. From the MySQL terminal, create a database
```sql
create database civicrm;
exit
```1. Make project directory
```sh
mkdir civicrm
```1. Change to the project diretory
```sh
cd civicrm
```1. Download the WordPress core files in the current diretory
```sh
wp core download
```1. Create the WordPress config file (**specify the correct database credentials**)
```sh
wp config create --dbname=civicrm --dbuser=root --dbpass=
```1. Install WordPress and create admin
```sh
wp core install --url=civicrm.test --title="CiviCRM" --admin_user=admin --admin_password=admin [email protected]
```1. Create a virtual host
```sh
valet link civicrm
```1. Secure the virtual host
```sh
valet secure civicrm
```1. Go to `https://civicrm.test/wp-admin` and login using the admin credentials step 7.
#### Setup CiviCRM
1. In the project directory, run the following command to download the CiviCRM plugin
```sh
wp plugin install https://download.civicrm.org/civicrm-5.73.2-wordpress.zip
```1. Activate the plugin
```sh
wp plugin activate civicrm
```1. Go to `https://civicrm.test/wp-admin` and configure CiviCRM.
1. Check all the Components
2. And click on `Install CiviCRM`