Skip to content

Commit

Permalink
chore: initial commit with current progress
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianUhlig committed Dec 21, 2023
1 parent c54eca4 commit 337ab06
Show file tree
Hide file tree
Showing 50 changed files with 7,574 additions and 833 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
APP_NAME="Code Nova"
APP_NAME="bitblick"
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_URL=http://bitblick.test

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
Expand All @@ -11,7 +11,7 @@ LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=code_nova
DB_DATABASE=bitblick
DB_USERNAME=sail
DB_PASSWORD=password

Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
on: push
name: CI
jobs:
phpunit:
runs-on: ubuntu-latest
container:
image: kirschbaumdevelopment/laravel-test-runner:8.2

services:
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: test
ports:
- 33306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1

- name: Install composer dependencies
run: |
composer install --no-scripts
- name: Prepare Laravel Application
run: |
cp .env.ci .env
php artisan key:generate
- name: Install front-end dependencies
run: |
npm install
npm run dev
- name: Run Testsuite
run: vendor/bin/phpunit tests/

- name: Deploy to Laravel Forge
run: curl ${{ secrets.FORGE_DEPLOYMENT_WEBHOOK }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/.phpunit.cache
/node_modules
/public/build
/public/hot
/public/storage
/storage/*.key
Expand Down
7 changes: 5 additions & 2 deletions app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function panel(Panel $panel): Panel
'danger' => Color::Rose,
'gray' => Color::Gray,
'info' => Color::Blue,
'primary' => '#ff4136',
'primary' => Color::Lime,
'success' => Color::Emerald,
'warning' => Color::Orange,
])
Expand Down Expand Up @@ -74,6 +74,9 @@ public function panel(Panel $panel): Panel
->authMiddleware([
Authenticate::class,
AdminAuthenticate::class,
]);
])
->brandLogoHeight('2rem')
->brandLogo(fn() => view('components.filament-logo'))
->brandName('bitblicke');
}
}
8 changes: 6 additions & 2 deletions app/Providers/Filament/AppPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Filament\PanelProvider;
use Filament\Support\Colors\Color;
use Filament\Widgets;
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse;
use Illuminate\Cookie\Middleware\EncryptCookies;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken;
Expand All @@ -33,7 +34,7 @@ public function panel(Panel $panel): Panel
'danger' => Color::Rose,
'gray' => Color::Gray,
'info' => Color::Blue,
'primary' => '#ff4136',
'primary' => Color::Lime,
'success' => Color::Emerald,
'warning' => Color::Orange,
])
Expand Down Expand Up @@ -66,6 +67,9 @@ public function panel(Panel $panel): Panel
])
->authMiddleware([
Authenticate::class,
]);
])
->brandLogoHeight('2rem')
->brandLogo(fn() => view('components.filament-logo'))
->brandName('bitblicke');
}
}
Loading

0 comments on commit 337ab06

Please sign in to comment.