docs
This commit is contained in:
parent
c76b66517b
commit
8c443b19cd
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,5 +1,5 @@
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
ENV
|
ENV
|
||||||
./api/config/dbconfig.ini
|
api/config/dbconfig.ini
|
||||||
./api/config/authservice.pub
|
api/config/authservice.pub
|
||||||
|
|
||||||
|
14
api/run.sh
14
api/run.sh
@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
. ENV
|
|
||||||
|
|
||||||
IMAGE_NAME="registry.hottis.de/hv2/hv2-api"
|
|
||||||
VERSION=0.0.x
|
|
||||||
|
|
||||||
|
|
||||||
docker run \
|
|
||||||
-d \
|
|
||||||
--rm \
|
|
||||||
--name "hv2-api" \
|
|
||||||
-p 5000:5000
|
|
||||||
${IMAGE_NAME}:${VERSION}
|
|
@ -1,4 +1,6 @@
|
|||||||
* all tools provide should work on Linux and on Windows, shell scripts are avoided
|
* all tools provide should work on Linux and on Windows, shell scripts are avoided
|
||||||
* templates files must be generated at development time, generated files must be put into the repository
|
* templates files must be generated at development time, generated files must be put into the repository
|
||||||
* use ``generate.py`` in the umbrella project's root without any arguments to generate all template files in all subdirectories using the ``schema.json`` from the umbrella project's root
|
* use ``generate.py`` in the umbrella project's root without any arguments to generate all template files in all subdirectories using the ``schema.json`` from the umbrella project's root
|
||||||
* to start the API set the required env variables (see ``ENV.tmp``) and run ``test.py`` from the API subproject
|
* to start the API set the required env variables (see ``ENV.tmp``) or the configuration files in the subdirectory ``./config`` and run ``test.py`` from the API subproject
|
||||||
|
* make sure these configuration files are not added to the repository, they contain secrets
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user