Skip to content

Commit ddb55da

Browse files
author
Curtis Delicata
committed
Merge branch 'main' of github.com:liberu-ecommerce/ecommerce-laravel
2 parents cf711cb + 894fe1d commit ddb55da

43 files changed

Lines changed: 1503 additions & 872 deletions

Some content is hidden

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

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LOG_LEVEL=debug
1111
DB_CONNECTION=mysql
1212
DB_HOST=127.0.0.1
1313
DB_PORT=3306
14-
DB_DATABASE=laravel
14+
DB_DATABASE=liberu_ecommerce
1515
DB_USERNAME=root
1616
DB_PASSWORD=
1717

.env.testing

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ LOG_CHANNEL=stack
1212
DB_CONNECTION=mysql
1313
DB_HOST=127.0.0.1
1414
DB_PORT=3306
15-
DB_DATABASE=liberu_testing
15+
DB_DATABASE=liberu_ecommerce_testing
1616
DB_USERNAME=liberu
1717
DB_PASSWORD=secret
1818

.github/workflows/install.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,22 @@ jobs:
1010

1111
install:
1212
runs-on: ubuntu-latest
13+
14+
services:
15+
mysql:
16+
image: mysql:8.0
17+
env:
18+
MYSQL_ROOT_PASSWORD: root
19+
MYSQL_DATABASE: liberu_ecommerce_testing
20+
MYSQL_USER: liberu
21+
MYSQL_PASSWORD: secret
22+
ports:
23+
- 3306:3306
24+
options: >-
25+
--health-cmd="mysqladmin ping"
26+
--health-interval=10s
27+
--health-timeout=5s
28+
--health-retries=5
1329
1430
steps:
1531
- uses: actions/checkout@v4
@@ -42,16 +58,7 @@ jobs:
4258
path: ~/.npm
4359
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
4460
restore-keys: ${{ runner.os }}-npm-
45-
46-
- name: Start database
47-
run: sudo /etc/init.d/mysql start
48-
49-
- name: Create database and user
50-
run: |
51-
mysql -e "CREATE DATABASE IF NOT EXISTS liberu_testing;" -uroot -proot
52-
mysql -e "CREATE USER IF NOT EXISTS 'liberu'@'%' IDENTIFIED WITH mysql_native_password BY 'secret';" -uroot -proot
53-
mysql -e "GRANT ALL PRIVILEGES ON liberu_testing.* TO 'liberu'@'%'; FLUSH PRIVILEGES;" -uroot -proot
54-
61+
5562
- name: Copy environment file
5663
run: cp .env.testing .env
5764

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
image: mysql:8.0
1717
env:
1818
MYSQL_ROOT_PASSWORD: root
19-
MYSQL_DATABASE: liberu_testing
19+
MYSQL_DATABASE: liberu_ecommerce_testing
2020
MYSQL_USER: liberu
2121
MYSQL_PASSWORD: secret
2222
ports:

app/Filament/Admin/Resources/Modules/ModuleResource.php

Lines changed: 0 additions & 199 deletions
This file was deleted.

app/Filament/Admin/Resources/Modules/Pages/ListModules.php

Lines changed: 0 additions & 27 deletions
This file was deleted.

app/Filament/Admin/Resources/Modules/Pages/ViewModule.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)