Fixes
This commit is contained in:
parent
80bf56a9a4
commit
fc6394761e
@ -1,4 +1,4 @@
|
|||||||
name: Gitea Actions Demo
|
name: Gitea Actions
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
@ -13,6 +13,9 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
- name: Clean Up
|
||||||
|
run: |
|
||||||
|
docker container stop $(docker container ls -aq) && docker system prune -af --volumes
|
||||||
- name: Init
|
- name: Init
|
||||||
run: |
|
run: |
|
||||||
make make-init ENVS="ENV=ci TAG=latest"
|
make make-init ENVS="ENV=ci TAG=latest"
|
||||||
@ -47,6 +50,9 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
- name: Clean Up
|
||||||
|
run: |
|
||||||
|
docker container stop $(docker container ls -aq) && docker system prune -af --volumes
|
||||||
- name: Init
|
- name: Init
|
||||||
run: |
|
run: |
|
||||||
make make-init ENVS="ENV=ci TAG=latest"
|
make make-init ENVS="ENV=ci TAG=latest"
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Symfony\Component\Dotenv\Dotenv;
|
use Symfony\Component\Dotenv\Dotenv;
|
||||||
|
|
||||||
$_SERVER['PANTHER_WEB_SERVER_DIR'] = __DIR__ .'/../web/';
|
$_SERVER['PANTHER_WEB_SERVER_DIR'] = __DIR__ .'/../web/';
|
||||||
require dirname(__DIR__).'/vendor/autoload.php';
|
require dirname(__DIR__).'/vendor/autoload.php';
|
||||||
|
|
||||||
@ -13,8 +14,6 @@ if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
|
|||||||
if (file_exists(__DIR__ . '/../var/test.sqlite')) {
|
if (file_exists(__DIR__ . '/../var/test.sqlite')) {
|
||||||
unlink(__DIR__ . '/../var/test.sqlite');
|
unlink(__DIR__ . '/../var/test.sqlite');
|
||||||
}
|
}
|
||||||
//system('sqlite3 '. __DIR__ . '/../var/test.sqlite < ' . __DIR__ .'/article.sql');
|
system('mysql -u psc --password=psc -h mysql --execute="drop database psc_test"');
|
||||||
//system('sqlite3 '. __DIR__ . '/../var/test.sqlite < ' . __DIR__ .'/sqlite.sql');
|
system('mysql -u psc --password=psc -h mysql --execute="create database psc_test"');
|
||||||
system('mysql -u root --password=Wichtig1 -h mysql --execute="drop database psc_test"');
|
system('mysql -u psc --password=psc -h mysql psc_test < '.__DIR__.'/mysql.sql');
|
||||||
system('mysql -u root --password=Wichtig1 -h mysql --execute="create database psc_test"');
|
|
||||||
system('mysql -u root --password=Wichtig1 -h mysql psc_test < '.__DIR__.'/mysql.sql');
|
|
||||||
|
|||||||
@ -45,7 +45,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="card mt-1">
|
<div class="card mt-1">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
{{'Kalkuations Status'|trans}}
|
{{'Kalkulations Status'|trans}}
|
||||||
</div>
|
</div>
|
||||||
<div id="calcStatus" class="p-2">
|
<div id="calcStatus" class="p-2">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user