Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Install dependencies listed above. You can follow `docker/control/Dockerfile` and `docker/postgres/Dockerfile`. Tomcat8 needs to be configured with systemd as `tomcat8.service`. If it's newer, deploy script has to be updated (more bellow).
There are 3 applications running on top of Tomcat. It's `RMBTControlServer`, `RMBTStatisticServer` and `RMBTMapServer`. They are installed simply by copying their respective `.war` files to Tomcat's `webapps` directory. This can be done even when Tomcat is running, but I would not recommend that. To simplify deployment to Tomcat, `deploy.sh` script exists in root of the repository. Then, any version can be installed by cloning the repository and calling the deploy script. It will build all neccesary parts and deploy them to Tomcat. Please skim through the script before using it, if you haven't done so before. It's not long.
There are 3 applications running on top of Tomcat. It's `RMBTControlServer`, `RMBTStatisticServer` and `RMBTMapServer`. They are installed simply by copying their respective `.war` files to Tomcat's `webapps` directory. This can be done even when Tomcat is running, but I would not recommend that. To simplify deployment to Tomcat, `deploy.sh` script exists in root of the repository. Then, any version can be installed by cloning the repository and calling the deploy script. It will build all necessary parts and deploy them to Tomcat. Please skim through the script before using it, if you haven't done so before. It's not long.
For the script to work, file `.env.production` is required in the root of the repository. It's not there by default. You can create one by copying it from `.env` file, which is already there.
For the script to work, file `.env.production` is required in the root of the repository. It's not there by default. You can create one by copying it from `.env` file, which is already there.
PostgreSQL is expected to be run on port 5432. Host is configured in `.env.production` file (used only when building with `deploy.sh` or `build_servers.sh production`).
## Configuration
\ No newline at end of file
PostgreSQL is expected to be run on port 5432. Host is configured in `.env.production` file (used only when building with `deploy.sh` or `build_servers.sh production`). Credentials to the database too.
Database needs to be initialized with scripts in `RMBTControlServer/db` and the extensions must be enabled. This has to be done in precise order, see `docker/postgres/Dockerfile` for that.