|
a/readme.md |
|
b/readme.md |
|
... |
|
... |
11 |
|
11 |
|
12 |
##### 2.1. Clone the code repository:
|
12 |
##### 2.1. Clone the code repository:
|
13 |
|
13 |
|
14 |
`git clone https://<username>@opensourceprojects.eu/git/p/vfos/assets/enablers/nen/code vfos-assets-enablers-nen-code`
|
14 |
`git clone https://<username>@opensourceprojects.eu/git/p/vfos/assets/enablers/nen/code vfos-assets-enablers-nen-code`
|
15 |
|
15 |
|
16 |
##### 2.2. Instalation Docker:
|
|
|
17 |
`1 - Permission for run.sh file (chmod 777 run.sh)
|
|
|
18 |
2 - Run script: ./run.sh`
|
|
|
19 |
|
|
|
20 |
##### 2.3. Run multi-container Docker application
|
16 |
##### 2.2. Run multi-container Docker application
|
21 |
`This multi-container Docker application is composed by two services: `enabler` and `MySQL`.`
|
17 |
`This multi-container Docker application is composed by two services: `enabler` and `MySQL`.`
|
22 |
|
18 |
|
|
|
19 |
`Navigate to the clone directory and execute `docker-compose up --build` to startup the multi-container enabler on background.`
|
|
|
20 |
|
23 |
#### 2.4. Usage
|
21 |
#### 2.3. Usage
|
24 |
|
22 |
|
25 |
`Whenever it's needed to have this enabler runnig, please execute `docker-compose up`.`
|
23 |
`Whenever it's needed to have this enabler runnig, please execute `docker-compose up`.`
|
26 |
|
24 |
|
27 |
`On the browser please navigate to `localhost:5000` to reach the frontend module.`
|
25 |
`On the browser please navigate to `localhost:5000` to reach the frontend module.`
|
28 |
|
26 |
|
29 |
For this enabler execute will need the following Environment Variables:
|
27 |
Notification enabler will need the following Environment Variables:
|
30 |
`PORT
|
28 |
`PORT
|
31 |
USEREMAIL
|
29 |
USEREMAIL
|
32 |
USERPWD
|
30 |
USERPWD
|
33 |
DBUSER
|
31 |
DBUSER
|
34 |
DBPASSWORD
|
32 |
DBPASSWORD
|
35 |
DATABASE`
|
33 |
DATABASE`
|
36 |
|
34 |
|
37 |
`This Environment Variables will be in data.env file.`
|
35 |
`This Environment Variables will be in data.env file, locate on the clone directory.`
|
38 |
|
36 |
|
39 |
#### 3. API
|
37 |
#### 3. API
|
40 |
|
38 |
|
41 |
## vf-OS Enablers
|
39 |
## vf-OS Enablers
|
42 |
|
40 |
|