From 7fabb5170ab50ee38ae6548dfbd2ab16c9c69afc Mon Sep 17 00:00:00 2001 From: Sieciech Date: Mon, 26 Jul 2021 07:30:45 +0000 Subject: [PATCH] 15-fixes (#16) add debugging for cli add scripts to run shell update documentation Co-authored-by: Sieciech Reviewed-on: http://git.fufle.net/Community/CureNet/pulls/16 Co-Authored-By: Sieciech Co-Committed-By: Sieciech --- .vscode/launch.json | 30 ++++++++++++++++++++++++++++++ README.md | 4 ++-- docker/shell | 1 + src/backend/shell | 1 + src/frontend/shell | 1 + 5 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 docker/shell create mode 100644 src/backend/shell create mode 100644 src/frontend/shell 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, + } } ] 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) 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