-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
cb2459e
commit e4b8a06
Showing
159 changed files
with
4,120 additions
and
4,653 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 |
---|---|---|
@@ -1,43 +1,60 @@ | ||
APP_NAME=Makovec | ||
APP_ENV=local | ||
APP_NAME=Laravel | ||
APP_ENV=production | ||
APP_KEY= | ||
APP_DEBUG=true | ||
APP_DEBUG=false | ||
APP_TIMEZONE=Europe/Prague | ||
APP_URL=http://localhost | ||
|
||
APP_LOCALE=en | ||
APP_FALLBACK_LOCALE=en | ||
APP_FAKER_LOCALE=en_US | ||
|
||
APP_MAINTENANCE_DRIVER=file | ||
# APP_MAINTENANCE_STORE=database | ||
|
||
BCRYPT_ROUNDS=12 | ||
|
||
LOG_CHANNEL=stack | ||
LOG_STACK=single | ||
LOG_DEPRECATIONS_CHANNEL=null | ||
LOG_LEVEL=debug | ||
|
||
DB_CONNECTION=mysql | ||
DB_HOST=mariadb | ||
DB_CONNECTION=mariadb | ||
DB_HOST=127.0.0.1 | ||
DB_PORT=3306 | ||
DB_DATABASE=makovec | ||
DB_USERNAME=sail | ||
DB_PASSWORD= | ||
DB_DATABASE=laravel | ||
DB_USERNAME=makovec | ||
DB_PASSWORD=Safe_Passw0rd | ||
|
||
BROADCAST_DRIVER=log | ||
CACHE_DRIVER=file | ||
FILESYSTEM_DISK=local | ||
QUEUE_CONNECTION=sync | ||
SESSION_DRIVER=file | ||
SESSION_DRIVER=database | ||
SESSION_LIFETIME=120 | ||
SESSION_SECURE_COOKIE=true | ||
SESSION_ENCRYPT=false | ||
SESSION_PATH=/ | ||
SESSION_DOMAIN=null | ||
|
||
BROADCAST_CONNECTION=log | ||
FILESYSTEM_DISK=local | ||
QUEUE_CONNECTION=database | ||
|
||
CACHE_STORE=database | ||
CACHE_PREFIX= | ||
|
||
MEMCACHED_HOST=127.0.0.1 | ||
|
||
REDIS_CLIENT=phpredis | ||
REDIS_HOST=127.0.0.1 | ||
REDIS_PASSWORD=null | ||
REDIS_PORT=6379 | ||
|
||
MAIL_MAILER=smtp | ||
MAIL_HOST=mailpit | ||
MAIL_PORT=1025 | ||
MAIL_MAILER=log | ||
MAIL_HOST=127.0.0.1 | ||
MAIL_PORT=2525 | ||
MAIL_USERNAME=null | ||
MAIL_PASSWORD=null | ||
MAIL_ENCRYPTION=null | ||
MAIL_FROM_ADDRESS="[email protected]" | ||
MAIL_FROM_NAME="${APP_NAME}" | ||
MAIL_REPLYTO_ADDRESS="help@example.com" | ||
MAIL_REPLYTO_ADDRESS="info@example.com" | ||
MAIL_REPLYTO_NAME="HelpDesk" | ||
|
||
AWS_ACCESS_KEY_ID= | ||
|
@@ -46,19 +63,4 @@ AWS_DEFAULT_REGION=us-east-1 | |
AWS_BUCKET= | ||
AWS_USE_PATH_STYLE_ENDPOINT=false | ||
|
||
PUSHER_APP_ID= | ||
PUSHER_APP_KEY= | ||
PUSHER_APP_SECRET= | ||
PUSHER_HOST= | ||
PUSHER_PORT=443 | ||
PUSHER_SCHEME=https | ||
PUSHER_APP_CLUSTER=mt1 | ||
|
||
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}" | ||
VITE_PUSHER_HOST="${PUSHER_HOST}" | ||
VITE_PUSHER_PORT="${PUSHER_PORT}" | ||
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}" | ||
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" | ||
|
||
LOG_SLACK_WEBHOOK_URL=https://example.com/services/token | ||
LOG_SLACK_CHANNEL=#makovec | ||
VITE_APP_NAME="${APP_NAME}" |
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build-and-release: | ||
runs-on: ubuntu-24.04 | ||
|
||
name: Build and release | ||
|
||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: "8.3" | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install NPM dependencies | ||
run: npm install | ||
|
||
- name: Build assets | ||
run: npm run build | ||
|
||
- name: Clean release | ||
run: | | ||
rm -rf .git* node_modules | ||
- name: Define release version | ||
run: | | ||
TAG=${{ github.ref_name }} | ||
{ | ||
echo "TAG=$TAG" | ||
echo "VERSION=${TAG#v}" | ||
} >> "$GITHUB_ENV" | ||
- name: Build release | ||
run: | | ||
DIRECTORY="makovec-$VERSION" | ||
TARGET="/tmp/makovec-$VERSION.tar.gz" | ||
cd .. | ||
cp -R makovec "$DIRECTORY" | ||
tar --owner 0 --group 0 -czf "$TARGET" "$DIRECTORY" | ||
rm -rf "$DIRECTORY" | ||
- name: Create release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: /tmp/makovec-*.tar.gz |
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,56 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
paths-ignore: | ||
- README.md | ||
- .github/workflows/release.yml | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-24.04 | ||
|
||
name: Test source code | ||
|
||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: "8.3" | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Create .env | ||
run: php -r "file_exists('.env') || copy('.env.example', '.env');" | ||
|
||
- name: Install Composer dependencies | ||
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress | ||
|
||
- name: Test code style | ||
run: vendor/bin/pint --test | ||
|
||
- name: Install NPM dependencies | ||
run: npm install | ||
|
||
- name: Build assets | ||
run: npm run build | ||
|
||
- name: Generate key | ||
run: php artisan key:generate | ||
|
||
- name: Set directory permissions | ||
run: chmod -R 777 storage bootstrap/cache | ||
|
||
- name: Create database | ||
run: | | ||
mkdir -p database | ||
touch database/database.sqlite | ||
- name: Execute tests | ||
env: | ||
DB_CONNECTION: sqlite | ||
DB_DATABASE: /home/runner/work/ciselnik/ciselnik/database/database.sqlite | ||
run: vendor/bin/phpunit |
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,19 +1,21 @@ | ||
/.phpunit.cache | ||
/node_modules | ||
/public/build | ||
/public/hot | ||
/public/storage | ||
/storage/*.key | ||
/vendor | ||
.env | ||
.env.backup | ||
.env.production | ||
.phpactor.json | ||
.phpunit.result.cache | ||
Homestead.json | ||
Homestead.yaml | ||
auth.json | ||
envoy | ||
npm-debug.log | ||
yarn-error.log | ||
/.fleet | ||
/.idea | ||
/.vscode | ||
envoy |
Oops, something went wrong.