-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.jps
43 lines (42 loc) · 1.39 KB
/
manifest.jps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
version: '1.0'
type: install
name: OpenMRS platform v2.1.3
logo: images/openrms-logo-75x75.png
homepage: https://openmrs.org
categories:
- apps/medicine
- apps/content-management
description:
OpenMRS is a robust, scalable, user-driven, open source medical record system.
engine: java8
ha: 'true'
nodes:
- cloudlets: 24
count: 1
nodeType: tomcat
tag: 9.0.12-jdk-10.0.2
- cloudlets: 8
count: 1
nodeType: mysql5
onInstall:
- deployArchive
- createdb
- restartapp
actions:
deployArchive:
deploy:
name: openmrs.war
context: ROOT
archive: https://netcologne.dl.sourceforge.net/project/openmrs/releases/OpenMRS_Platform_2.1.3/openmrs.war
createdb:
cmd[sqldb]:
mysql -uroot -p${nodes.sqldb.password} -e "create database openmrs;CREATE USER 'openmrs'@'%' IDENTIFIED BY '${nodes.sqldb.password}';GRANT ALL ON *.* TO 'openmrs'@'%';FLUSH PRIVILEGES;"
restartapp:
- restartNodes:
nodeGroup: cp
startPage: ${env.url}initialsetup
success: "Do initial setup by link [${env.url}initialsetup](${env.url}initialsetup). To configure database connection use db address:
**node${nodes.sqldb.master.id}-${env.domain}**, database name: **openmrs**, username: **openmrs**,
password: **${nodes.sqldb.password}**.
Please enter your new **admin** user password. Use this password after installation to login as **admin** to your OpenMRS Platform **[${env.url}](${env.url})**."