From 4b8b8174d60ec84e12e603205899a50d7bf9b83b Mon Sep 17 00:00:00 2001 From: Sieciech Date: Mon, 26 Jul 2021 09:10:02 +0200 Subject: [PATCH 1/3] update documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20b1922..efa4b8b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ We also encourage doctors and specialists to join the community, they will have ### Disease analysis We want users to have access to the log of their disease where they can enter how it is progressing. On this basis, together with specialists, we will be able to find some common features for new diseases and predict as many negative symptoms as possible in order to be able to prevent them as much as possible. -[Technical documentation](./src/#c#technical-documentation) +[Technical documentation](./src/#technical-documentation) # Polski ## Czym jest CureNet? @@ -28,5 +28,5 @@ Zachęcamy także lekarzy i specjalistów, aby dołączyli do społeczności, b ### Analiza chorób Chcemy, aby użytkownicy mieli dostęp do dziennika swojej choroby, gdzie będą mogli wprowadzać jak ona przebiega. Na tej podstawie wraz ze specjalistami będziemy w stanie znaleźć pewne wsólne cechy dla nowych chorób i przewidzieć jak najwięcej negatywnych symptomów, aby móc im jak najlepiej zapobiec. -[Dokumentacja techniczna](./src/#c#technical-documentation) +[Dokumentacja techniczna](./src/#technical-documentation) -- 2.39.5 From 65cbdc59978acf6b270b2df970ab5ae41296a900 Mon Sep 17 00:00:00 2001 From: Sieciech Date: Mon, 26 Jul 2021 09:10:23 +0200 Subject: [PATCH 2/3] add scripts to run shell --- docker/shell | 1 + src/backend/shell | 1 + src/frontend/shell | 1 + 3 files changed, 3 insertions(+) create mode 100644 docker/shell create mode 100644 src/backend/shell create mode 100644 src/frontend/shell diff --git a/docker/shell b/docker/shell new file mode 100644 index 0000000..800e152 --- /dev/null +++ b/docker/shell @@ -0,0 +1 @@ +docker.exe compose -p curenet exec app bash -c 'cd /web && bash' \ No newline at end of file diff --git a/src/backend/shell b/src/backend/shell new file mode 100644 index 0000000..d789c65 --- /dev/null +++ b/src/backend/shell @@ -0,0 +1 @@ +docker.exe compose -p curenet exec app bash -c 'cd /web/backend && bash' \ No newline at end of file diff --git a/src/frontend/shell b/src/frontend/shell new file mode 100644 index 0000000..a2468e8 --- /dev/null +++ b/src/frontend/shell @@ -0,0 +1 @@ +docker.exe compose -p curenet exec app bash -c 'cd /web/frontend && bash' \ No newline at end of file -- 2.39.5 From 407275a856be6973eb08eb85454b583b7f74f202 Mon Sep 17 00:00:00 2001 From: Sieciech Date: Mon, 26 Jul 2021 09:10:35 +0200 Subject: [PATCH 3/3] add debugging for cli --- .vscode/launch.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 4197997..64ad408 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -30,6 +30,36 @@ "xdebugSettings": { "max_children": 100, } + }, + { + "name": "PHP 8.0 CLI", + "type": "php", + "request": "launch", + "pathMappings": { + "/web/backend": "${workspaceFolder}\\src\\backend" + }, + "skipFiles": [ + "${workspaceFolder}/src/backend/vendor/", + "/web/backend/vendor/" + ], + "port": 7781, + "hostname": "127.0.0.1", + "xdebugSettings": { + "max_children": 100, + } + }, + { + "name": "PHP 8.0 CLI with vendor", + "type": "php", + "request": "launch", + "pathMappings": { + "/web/backend": "${workspaceFolder}\\src\\backend" + }, + "port": 7781, + "hostname": "127.0.0.1", + "xdebugSettings": { + "max_children": 100, + } } ] -- 2.39.5