gyn
Gyn is a web application for form filling of examination of patients in a maternity hospital.
The backend of this project implemented with:
The frontend implemented with:
Getting started
Prerequisites
To install developer tools run:
./install-dev-tools.sh
To build application run:
./build.sh [target operating system] [target architecture]
Target operating system and architecture parameters have values
as described in [specification] (https://golang.org/pkg/go/build/).
In the absence of one of them, the backend will build for current
operating system and architecture.
For example, to build:
-
for Linux x64 ./build.sh linux amd64
-
for Linux x32 ./build.sh linux 386
-
for Windows x64 ./build.sh windows amd64
-
for Windows x32 ./build.sh windows 386
-
for current OS ./build.sh
The deploy files will located in _build directory.
Before run application, make sure you have the configuration files in env (default) directory.
To customize location of configuration files use flags:
-cfg-dir - dir with app's config (default "./env")
-cfg-name - app's config base file name (default "dev")
To run application:
$ cd _build/backend
$./backend