This document provides essential information for developers working on the Church CRM project.
- PHP 8.4 or higher
- Composer
- Node.js and npm
| #!/usr/bin/env bash | |
| # Quick install: | |
| # bash <(curl -fsSL https://gist.githubusercontent.com/danielnv18/8774a1200548b84abafb98e481e15e52/raw/setup-wsl-ubuntu.sh) --name "Your Name" --email "[email protected]" | |
| set -euo pipefail | |
| # ========================= | |
| # Ubuntu on WSL Bootstrapper | |
| # - Git configuration (name, email) | |
| # - SSH keys from Windows |
| import { TestBed } from '@angular/core/testing'; | |
| import { AngularFireAuth } from '@angular/fire/auth'; | |
| import { AngularFirestore } from '@angular/fire/firestore'; | |
| import { BehaviorSubject } from 'rxjs'; | |
| import { AngularFireModule } from '@angular/fire'; | |
| import { AngularFireAuthModule } from '@angular/fire/auth'; | |
| import { AuthService } from './auth.service'; | |
| const FirestoreStub = { | |
| collection: (name: string) => ({ |
| FROM php:7.3-fpm | |
| MAINTAINER Daniel Noyola <[email protected]> | |
| # Install Dependencies | |
| RUN apt-get update && apt-get install -y locales unixodbc libgss3 odbcinst \ | |
| devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \ | |
| unixodbc-dev wget unzip \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && docker-php-ext-install pdo \ |
| ahoyapi: v2 | |
| commands: | |
| ps: | |
| cmd: docker-compose ps "$@" | |
| usage: List containers. | |
| start: | |
| cmd: docker-compose start "$@" | |
| usage: Start services. |
| import { Injectable } from '@angular/core'; | |
| import { Request, Http, RequestMethod, RequestOptions, URLSearchParams, Headers } from '@angular/http'; | |
| import { ENV } from '../environment/environment'; | |
| import 'rxjs/add/operator/map'; | |
| @Injectable() | |
| export class Api { | |
| url: string = ENV.API_URL; | |
| constructor(public http: Http) { } |
| FROM php:7.0.10-fpm | |
| MAINTAINER Daniel Noyola <[email protected]> | |
| # install the PHP extensions we need | |
| RUN apt-get update && apt-get install -y locales unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev unixodbc-dev wget unzip \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && docker-php-ext-install pdo \ | |
| && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen |
| <?php | |
| /** | |
| * @file | |
| * Contains Drupal\demo\Form\AdminForm. | |
| */ | |
| namespace Drupal\demo\Form; | |
| use Drupal\Core\Form\ConfigFormBase; |
| <?php | |
| /** | |
| * @file | |
| * Contains Drupal\demo\Plugin\Block\DemoBlock. | |
| */ | |
| namespace Drupal\demo\Plugin\Block; | |
| use Drupal\Core\Block\BlockBase; |