-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into zero_age_render
- Loading branch information
Showing
690 changed files
with
9,640 additions
and
9,634 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -29,17 +29,15 @@ set_conf() { | |
setenv "QUEUE_CONNECTION" "sync" | ||
setenv "SESSION_DRIVER" "database" | ||
setenv "MAIL_MAILER" "log" | ||
setenv "MAIL_FROM_ADDRESS" "[email protected]" | ||
setenv "MAIL_REPLY_TO_ADDRESS" "[email protected]" | ||
} | ||
|
||
composer_install() { | ||
composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader --working-dir=$ROOT | ||
} | ||
|
||
yarn_install() { | ||
yarn install --cwd $ROOT --immutable | ||
yarn run --cwd $ROOT build | ||
yarn --cwd $ROOT install --immutable | ||
yarn --cwd $ROOT run build | ||
} | ||
|
||
setup() { | ||
|
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 |
---|---|---|
|
@@ -24,24 +24,24 @@ APP_KEY= | |
APP_DEBUG=true | ||
|
||
# The URL of your application. | ||
APP_URL=localhost:8000 | ||
APP_URL=http://localhost:8000 | ||
|
||
# Database to store information | ||
# The documentation is here: https://laravel.com/docs/10.x/database | ||
# You can also see the different values you can use in config/database.php | ||
DB_CONNECTION=sqlite | ||
DB_HOST=127.0.0.1 | ||
DB_PORT=3306 | ||
DB_DATABASE=full_path_to_the_sqlite_database | ||
DB_USERNAME=monica | ||
DB_PASSWORD=secret | ||
# DB_HOST=127.0.0.1 | ||
# DB_PORT=3306 | ||
# DB_DATABASE=monica | ||
# DB_USERNAME=monica | ||
# DB_PASSWORD=secret | ||
|
||
# Database for SQLite - used for local development | ||
# Database for tests - used for local development | ||
DB_TEST_DRIVER=sqlite | ||
DB_TEST_DATABASE=full_path_to_the_sqlite_database | ||
DB_TEST_HOST=127.0.0.1 | ||
DB_TEST_USERNAME=root | ||
DB_TEST_PASSWORD=root | ||
# DB_TEST_DATABASE=monica | ||
# DB_TEST_HOST=127.0.0.1 | ||
# DB_TEST_USERNAME=root | ||
# DB_TEST_PASSWORD=root | ||
|
||
# Frequency of creation of new log files. Logs are written when an error occurs. | ||
# Refer to config/logging.php for the possible values. | ||
|
@@ -59,26 +59,26 @@ LOG_CHANNEL=stack | |
#. Queue: sync, database, beanstalkd, sqs, redis | ||
# If Queue is not set to 'sync', you'll have to set a queue worker | ||
# See https://laravel.com/docs/5.7/queues#running-the-queue-worker | ||
CACHE_DRIVER=file | ||
CACHE_STORE=database | ||
QUEUE_CONNECTION=sync | ||
SESSION_DRIVER=file | ||
SESSION_LIFETIME=120 | ||
SESSION_DRIVER=database | ||
|
||
# Redis, if you need it for the queues | ||
REDIS_HOST=127.0.0.1 | ||
REDIS_PASSWORD=null | ||
REDIS_PORT=6379 | ||
|
||
# Mailing | ||
MAIL_MAILER=smtp | ||
# Set the MAIL_MAILER to 'smtp' if you want to send emails. | ||
MAIL_MAILER=log | ||
MAIL_HOST=smtp.mailtrap.io | ||
MAIL_PORT=2525 | ||
MAIL_USERNAME=null | ||
MAIL_PASSWORD=null | ||
MAIL_ENCRYPTION=null | ||
MAIL_FROM_ADDRESS= | ||
MAIL_FROM_ADDRESS=[email protected] | ||
MAIL_FROM_NAME="${APP_NAME}" | ||
MAIL_REPLY_TO_ADDRESS= | ||
MAIL_REPLY_TO_ADDRESS=[email protected] | ||
MAIL_REPLY_TO_NAME="${APP_NAME}" | ||
|
||
# Search | ||
|
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,47 @@ | ||
# Example configuration file to use with Laravel sail | ||
# Copy this file to .env and adjust the values to your needs | ||
|
||
# Initial setup: | ||
# cp .env.example.sail .env | ||
# docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd):/var/www/html" -w /var/www/html laravelsail/php83-composer:latest composer install --ignore-platform-reqs | ||
# ./vendor/bin/sail up -d | ||
|
||
APP_NAME=Monica | ||
APP_ENV=local | ||
APP_KEY= | ||
APP_DEBUG=true | ||
APP_URL=http://localhost | ||
|
||
DB_CONNECTION=mariadb | ||
DB_HOST=mariadb | ||
DB_PORT=3306 | ||
DB_DATABASE=monica | ||
DB_USERNAME=monica | ||
DB_PASSWORD=password | ||
|
||
LOG_CHANNEL=stack | ||
|
||
CACHE_STORE=memcached | ||
QUEUE_CONNECTION=redis | ||
SESSION_DRIVER=database | ||
|
||
REDIS_HOST=redis | ||
REDIS_PASSWORD=null | ||
REDIS_PORT=6379 | ||
|
||
MAIL_MAILER=smtp | ||
MAIL_HOST=mailpit | ||
MAIL_PORT=1025 | ||
MAIL_USERNAME=null | ||
MAIL_PASSWORD=null | ||
MAIL_ENCRYPTION=null | ||
[email protected] | ||
MAIL_FROM_NAME="${APP_NAME}" | ||
[email protected] | ||
MAIL_REPLY_TO_NAME="${APP_NAME}" | ||
|
||
SCOUT_DRIVER=meilisearch | ||
SCOUT_QUEUE=true | ||
MEILISEARCH_HOST=http://meilisearch:7700 | ||
MEILISEARCH_KEY= | ||
MEILISEARCH_NO_ANALYTICS=false |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
name: Push | ||
name: Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
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 |
---|---|---|
|
@@ -14,3 +14,4 @@ jobs: | |
uses: monicahq/workflows/.github/workflows/static.yml@v2 | ||
with: | ||
php-version: 8.3 | ||
with: phpstan |
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 |
---|---|---|
|
@@ -37,3 +37,4 @@ npm-debug.log | |
.phpunit.result.cache | ||
yarn-error.log | ||
monica.db | ||
sail |
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ storage | |
vendor | ||
node_modules | ||
composer.lock | ||
.yarn/* |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
php 8.2.0 | ||
nodejs 18.16.0 | ||
yarn 1.22.19 | ||
nodejs 21.7.1 | ||
yarn 4.1.1 |
Oops, something went wrong.