15-fixes (#16)

add debugging for cli

add scripts to run shell

update documentation

Co-authored-by: Sieciech <www.sieciech@gmail.com>
Reviewed-on: http://git.fufle.net/Community/CureNet/pulls/16
Co-Authored-By: Sieciech <sieciech@noreply.fufle.net>
Co-Committed-By: Sieciech <sieciech@noreply.fufle.net>
This commit is contained in:
Michał Sieciechowicz 2021-07-26 07:30:45 +00:00
parent c7f4e68a06
commit 7fabb5170a
5 changed files with 35 additions and 2 deletions

30
.vscode/launch.json vendored
View File

@ -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,
}
}
]

View File

@ -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)

1
docker/shell Normal file
View File

@ -0,0 +1 @@
docker.exe compose -p curenet exec app bash -c 'cd /web && bash'

1
src/backend/shell Normal file
View File

@ -0,0 +1 @@
docker.exe compose -p curenet exec app bash -c 'cd /web/backend && bash'

1
src/frontend/shell Normal file
View File

@ -0,0 +1 @@
docker.exe compose -p curenet exec app bash -c 'cd /web/frontend && bash'