-
-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
120 changed files
with
1,294 additions
and
1,021 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php_versions: ['7.1', '7.2', '7.3', '7.4'] | ||
php_versions: ['7.2', '7.3', '7.4'] | ||
|
||
runs-on: ubuntu-latest | ||
name: PHPUnit - PHP ${{ matrix.php_versions }} - MySQL | ||
|
@@ -38,11 +38,11 @@ jobs: | |
php-version: ${{ matrix.php_versions }} | ||
extensions: mbstring, dom, fileinfo, gd, memcached, redis, pdo_sqlite | ||
coverage: xdebug | ||
tools: pecl, composer:v1 | ||
tools: pecl, composer | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 10 | ||
node-version: 14 | ||
|
||
- name: Setup Redis-server | ||
uses: supercharge/[email protected] | ||
|
@@ -83,7 +83,7 @@ jobs: | |
run: php -r "copy('app/sprinkles.example.json', 'app/sprinkles.json');" | ||
|
||
- name: Install Dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
run: composer install --prefer-dist --no-progress | ||
|
||
- name: Bakery Debug | ||
run: php bakery debug | ||
|
@@ -109,7 +109,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php_versions: ['7.1', '7.2', '7.3', '7.4'] | ||
php_versions: ['7.2', '7.3', '7.4'] | ||
|
||
runs-on: ubuntu-latest | ||
name: PHPUnit - PHP ${{ matrix.php_versions }} - SQLite | ||
|
@@ -129,11 +129,11 @@ jobs: | |
php-version: ${{ matrix.php_versions }} | ||
extensions: mbstring, dom, fileinfo, gd, memcached, redis, pdo_sqlite | ||
coverage: xdebug | ||
tools: pecl, composer:v1 | ||
tools: pecl, composer | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 10 | ||
node-version: 14 | ||
|
||
- name: Setup Redis-server | ||
uses: supercharge/[email protected] | ||
|
@@ -147,7 +147,7 @@ jobs: | |
run: php -r "copy('app/sprinkles.example.json', 'app/sprinkles.json');" | ||
|
||
- name: Install Dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
run: composer install --prefer-dist --no-progress | ||
|
||
- name: Create SQLite Database | ||
run: | | ||
|
@@ -178,7 +178,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php_versions: ['7.1', '7.2', '7.3', '7.4'] | ||
php_versions: ['7.2', '7.3', '7.4'] | ||
|
||
runs-on: ubuntu-latest | ||
name: PHPUnit - PHP ${{ matrix.php_versions }} - PostgreSQL | ||
|
@@ -202,7 +202,7 @@ jobs: | |
php-version: ${{ matrix.php_versions }} | ||
extensions: mbstring, dom, fileinfo, gd, memcached, redis, pdo_sqlite, pdo_pgsql | ||
coverage: xdebug | ||
tools: pecl, composer:v1 | ||
tools: pecl, composer | ||
|
||
- name: Setup PostgreSQL | ||
uses: harmon758/postgresql-action@v1 | ||
|
@@ -213,7 +213,7 @@ jobs: | |
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 10 | ||
node-version: 14 | ||
|
||
- name: Setup Redis-server | ||
uses: supercharge/[email protected] | ||
|
@@ -227,7 +227,7 @@ jobs: | |
run: php -r "copy('app/sprinkles.example.json', 'app/sprinkles.json');" | ||
|
||
- name: Install Dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
run: composer install --prefer-dist --no-progress | ||
|
||
- name: Bakery Debug | ||
run: php bakery debug | ||
|
@@ -253,7 +253,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php_versions: ['7.1', '7.2', '7.3', '7.4'] | ||
php_versions: ['7.2', '7.3', '7.4'] | ||
|
||
runs-on: windows-latest | ||
name: PHPUnit - PHP ${{ matrix.php_versions }} - Windows | ||
|
@@ -273,17 +273,17 @@ jobs: | |
php-version: ${{ matrix.php_versions }} | ||
extensions: mbstring, dom, fileinfo, gd, pdo, sqlite, pdo_sqlite | ||
coverage: xdebug | ||
tools: pecl, composer:v1 | ||
tools: pecl, composer | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 10 | ||
node-version: 14 | ||
|
||
- name: Copy .env | ||
run: php -r "copy('app/sprinkles.example.json', 'app/sprinkles.json');" | ||
|
||
- name: Install Dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
run: composer install --prefer-dist --no-progress | ||
|
||
- name: Create SQLite Database | ||
run: | | ||
|
@@ -314,7 +314,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
php_versions: ['7.4'] | ||
node_versions: ['10', '12', '14'] | ||
node_versions: ['12.17.0', '14', '15'] | ||
os: [ubuntu-latest, windows-latest] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
@@ -329,7 +329,7 @@ jobs: | |
php-version: ${{ matrix.php_versions }} | ||
extensions: mbstring, dom, fileinfo, gd | ||
coverage: xdebug | ||
tools: pecl, composer:v1 | ||
tools: pecl, composer | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
|
@@ -339,7 +339,7 @@ jobs: | |
run: php -r "copy('app/sprinkles.example.json', 'app/sprinkles.json');" | ||
|
||
- name: Install Dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
run: composer install --prefer-dist --no-progress | ||
|
||
- name: Execute build | ||
run: php bakery build-assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Lando is a development tool, do not use it hosting a production website | ||
|
||
name: userfrosting | ||
recipe: lamp | ||
config: | ||
webroot: ./public | ||
php: '7.4' | ||
composer_version: '2-latest' | ||
database: mariadb | ||
xdebug: true | ||
|
||
services: | ||
appserver: | ||
build_as_root: | ||
- apt-get update -y | ||
- apt-get install -my wget gnupg | ||
- a2enmod headers | ||
# Patch to bring NodeJS into app server container | ||
# https://docs.lando.dev/guides/installing-node-in-your-lando-php-service.html | ||
- curl -sL https://deb.nodesource.com/setup_14.x | bash - | ||
- apt-get install -y nodejs | ||
overrides: | ||
environment: | ||
PHP_IDE_CONFIG: "serverName=userfrosting.lndo.site" | ||
MAIL_MAILER: "mail" | ||
DB_DRIVER: "mysql" | ||
DB_HOST: "database" | ||
DB_PORT: "3306" | ||
DB_NAME: "lamp" | ||
DB_USER: "lamp" | ||
DB_PASSWORD: "lamp" | ||
ssl: true | ||
|
||
# Redis cache | ||
cache: | ||
type: redis | ||
|
||
# phpMyAdmin | ||
pma: | ||
type: phpmyadmin | ||
hosts: | ||
- database | ||
|
||
# MailHog | ||
mh: | ||
type: mailhog:v1.0.0 | ||
portforward: false | ||
hogfrom: | ||
# Set UF mailer config to 'mail' complete integration | ||
- appserver | ||
|
||
proxy: | ||
pma: | ||
- pma.userfrosting.lndo.site | ||
mh: | ||
- mh.userfrosting.lndo.site | ||
|
||
tooling: | ||
phpunit: | ||
service: appserver | ||
description: "Run PHP Unit tests" | ||
cmd: app/vendor/bin/phpunit | ||
redis-cli: | ||
service: cache | ||
description: "Redis cache CLI" | ||
bakery: | ||
service: appserver | ||
description: "UserFrosting CLI" | ||
cmd: php bakery |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ DB_PORT="3306" | |
DB_NAME="userfrosting" | ||
DB_USER="userfrosting" | ||
DB_PASSWORD="password" | ||
MAIL_MAILER="smtp" # Set to one of 'smtp', 'mail', 'qmail', 'sendmail' | ||
SMTP_HOST="host.example.com" | ||
SMTP_USER="[email protected]" | ||
SMTP_PASSWORD="password" | ||
SMTP_PORT="587" | ||
SMTP_AUTH="true" | ||
SMTP_SECURE="tls" |
Oops, something went wrong.