CI test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ekaropolus 2025-04-19 01:37:32 -06:00
parent 6a5839d5d4
commit 793af9d4a6
4 changed files with 90 additions and 35 deletions

View File

@ -1,15 +1,15 @@
kind: pipeline
type: docker
name: default
name: mirror-to-github
steps:
- name: mirror-to-github
- name: push-to-github
image: alpine:latest
environment:
SSH_PRIVATE_KEY:
from_secret: GITHUB_DEPLOY_KEY
from_secret: SSH_PRIVATE_KEY
commands:
- apk add --no-cache openssh git
- apk add --no-cache git openssh
- mkdir -p /root/.ssh
- echo "$SSH_PRIVATE_KEY" > /root/.ssh/id_rsa
- chmod 600 /root/.ssh/id_rsa

View File

@ -1,6 +1,6 @@
APP_NAME=Laravel
APP_NAME=Polisplexity
APP_ENV=local
APP_KEY=
APP_KEY=base64:GENERATE_A_KEY_USING_ARTISAN
APP_DEBUG=true
APP_URL=http://localhost
@ -11,9 +11,9 @@ LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
DB_DATABASE=your_local_db
DB_USERNAME=your_local_user
DB_PASSWORD=your_local_password
BROADCAST_DRIVER=log
CACHE_DRIVER=file
@ -29,12 +29,12 @@ REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=your_mail_user
MAIL_PASSWORD=your_mail_pass
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_ADDRESS="hi@example.com"
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
@ -57,3 +57,5 @@ VITE_PUSHER_HOST="${PUSHER_HOST}"
VITE_PUSHER_PORT="${PUSHER_PORT}"
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
PINATA_JWT=your_test_jwt_here

55
docker-compose.yml Normal file
View File

@ -0,0 +1,55 @@
version: '3'
services:
laravel.test:
build:
context: ./vendor/laravel/sail/runtimes/8.2
dockerfile: Dockerfile
args:
WWWGROUP: '1000'
image: sail-8.2/app
ports:
- '${APP_PORT:-80}:80'
environment:
WWWUSER: '1000'
LARAVEL_SAIL: 1
volumes:
- '.:/var/www/html'
networks:
- sail
depends_on:
- mysql
- redis
mysql:
image: 'mysql:8.0'
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD:-secret}'
MYSQL_DATABASE: '${DB_DATABASE:-laravel}'
MYSQL_USER: '${DB_USERNAME:-sail}'
MYSQL_PASSWORD: '${DB_PASSWORD:-secret}'
volumes:
- 'sailmysql:/var/lib/mysql'
networks:
- sail
redis:
image: 'redis:alpine'
ports:
- '6379:6379'
volumes:
- 'sailredis:/data'
networks:
- sail
networks:
sail:
driver: bridge
volumes:
sailmysql:
driver: local
sailredis:
driver: local

View File

@ -2,25 +2,25 @@
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V3LLYR5D03"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-V3LLYR5D03');
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V3LLYR5D03"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-V3LLYR5D03');
</script>
<!-- Head contents -->
<title>Polisplexity</title>
<title>Polisplexity</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<link rel="stylesheet" href= "{{ asset('public/css/master/master.css') }}"/>
<link rel="stylesheet" href="{{ asset('css/master/master.css') }}"/>
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
@include('components.master.nav.nav')
{{-- For success messages --}}
@if(session('success'))
<div class="alert alert-success">
@ -35,17 +35,15 @@
</div>
@endif
@yield('content')
@yield('content')
@include('components.master.footer.footer')
@include('components.master.footer.footer')
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js"></script>
<script src="{{ asset('js/navbar/metamask.js') }}"></script>
<script src="{{ asset('js/navbar/web3-login.js') }}"></script>
<script src="{{ asset('js/web3-utils/w3forms.js') }}"></script>
<script src="{{ asset('js/master/master.js') }}"></script>
</body>
<script src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js"></script>
<script src="{{ asset('public/js/navbar/metamask.js') }}"></script>
<script src="{{ asset('public/js/navbar/web3-login.js') }}"></script>
<script src="{{ asset('public/js/web3-utils/w3forms.js') }}"></script>
<script src="{{ asset('public/js/master/master.js') }}"></script>
</html>
</html>