Skip to content

Commit 73a1b5b

Browse files
committed
Initial commit
Took 1 hour 28 minutes
1 parent e0f3123 commit 73a1b5b

80 files changed

Lines changed: 9528 additions & 7267 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,6 @@ APP_ENV=dev
1919
APP_SECRET=a052f40c3d2ac8c3d4a3995501eb4af0
2020
###< symfony/framework-bundle ###
2121

22-
###> doctrine/doctrine-bundle ###
23-
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
24-
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
25-
#
26-
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db"
27-
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
28-
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
29-
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
30-
###< doctrine/doctrine-bundle ###
31-
32-
###> symfony/messenger ###
33-
# Choose one of the transports below
34-
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
35-
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
36-
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
37-
###< symfony/messenger ###
38-
39-
###> symfony/mailer ###
40-
MAILER_DSN=null://null
41-
###< symfony/mailer ###
22+
###> ferrio ###
23+
FERRIO_API_BASE_URL=https://api.ferrio.app
24+
###< ferrio ###

.env.dev

Whitespace-only changes.

.env.test

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
# define your env variables for the test env here
22
KERNEL_CLASS='App\Kernel'
33
APP_SECRET='$ecretf0rt3st'
4-
SYMFONY_DEPRECATIONS_HELPER=999999
5-
PANTHER_APP_ENV=panther
6-
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots

.github/workflows/ci.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
tests:
11+
name: PHP Tests
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: shivammathur/setup-php@v2
18+
with:
19+
php-version: '8.5'
20+
extensions: ctype, iconv
21+
coverage: none
22+
23+
- name: Install Composer dependencies
24+
run: composer install --no-interaction --prefer-dist
25+
26+
- name: Clear cache
27+
run: php bin/console cache:clear --env=test
28+
29+
- name: Run PHPUnit
30+
run: php bin/phpunit
31+
32+
frontend:
33+
name: Frontend Build
34+
runs-on: ubuntu-latest
35+
36+
steps:
37+
- uses: actions/checkout@v4
38+
39+
- uses: actions/setup-node@v4
40+
with:
41+
node-version: '22'
42+
cache: 'yarn'
43+
44+
- name: Install dependencies
45+
run: yarn install --frozen-lockfile
46+
47+
- name: Build production assets
48+
run: yarn build

.gitignore

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
21
###> symfony/framework-bundle ###
32
/.env.local
43
/.env.local.php
54
/.env.*.local
6-
/config/secrets/prod/prod.decrypt.private.php
75
/public/bundles/
86
/var/
97
/vendor/
@@ -14,12 +12,13 @@
1412
.phpunit.result.cache
1513
###< phpunit/phpunit ###
1614

17-
###> symfony/phpunit-bridge ###
18-
.phpunit.result.cache
19-
/phpunit.xml
20-
###< symfony/phpunit-bridge ###
15+
###> symfony/webpack-encore-bundle ###
16+
/node_modules/
17+
/public/build/
18+
npm-debug.log
19+
yarn-error.log
20+
###< symfony/webpack-encore-bundle ###
2121

22-
###> symfony/asset-mapper ###
23-
/public/assets/
24-
/assets/vendor/
25-
###< symfony/asset-mapper ###
22+
###> claude
23+
/.claude/
24+
###< claude

.idea/.gitignore

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/ferrio-web.iml

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)