updated documentation
This commit is contained in:
Родитель
1bf6fe5427
Коммит
66bcfe08e3
|
@ -10,28 +10,32 @@ Fully automated deployment via arm templates and custom scripts
|
|||
|
||||
* Does not install Tomcat as a service
|
||||
* Does not configure transcoding, i.e. sudo snap install ffmpeg
|
||||
* Binding of airsonic app to mysql fisrt requires the app be started to create a .properties file, stopped, then the .properties needs to be updated with jndi binding. At the end of the airsonic install, the app is started then stopped to create this file using a 30 second wait period between operations. The properties file is updated with binding during the mysql binding setup.
|
||||
* When this repo is cloned the base path to repo where the vm install scripts needs to be updated in azuredeploy.parameters.json to the **raw** path of new repo as show below.
|
||||
```
|
||||
"_artifactsLocation": {
|
||||
"value": "https://raw.githubusercontent.com/microsoft/MTC_APPContainerization/main/Java%20Containerization/scripts/vm/"
|
||||
}
|
||||
```
|
||||
* Binding of airsonic app to mysql first requires the app be started to create a .properties file, stopped, then the .properties needs to be updated with jndi binding. At the end of the airsonic install, the app is started then stopped to create this file using a 30 second wait period between operations. The properties file is updated with binding during the mysql binding setup.
|
||||
|
||||
## Deployment
|
||||
|
||||
git clone https://github.com/Lantern-Cloud-Services/AzureMigrateJava.git
|
||||
To deploy this workshop environment, begin by navigating to the Azure portal at https://portal.azure.com and opening the cloud shell as shown belew:
|
||||
|
||||
![Cloud Shell](../media/shell.png)
|
||||
|
||||
...
|
||||
|
||||
![Terminal](../media/shell2.png)
|
||||
|
||||
From the terminal window execute the following commands to clone the App Migration Workshop project. Navigate to the Java migrate sub module and execute the deployment script substituting the target region name and resource group for which the resources will be deployed.
|
||||
|
||||
git clone https://github.com/microsoft/MTC_APPContainerization.git
|
||||
cd AzureMigrateJava
|
||||
chmod +x scripts/deploy.sh
|
||||
./scripts/deploy.sh '<REGION NAME>' '<RESOURCE GROUP>'
|
||||
|
||||
Total deployment will take ~5 minutes. When complete navigate to the resource group in the azure portal. Find the created vm named TomcatServer click on its name.
|
||||
|
||||
![Tomcat VM.](https://raw.githubusercontent.com/microsoft/MTC_APPContainerization/main/media/server.jpg)
|
||||
![Tomcat VM.](../media/server.jpg)
|
||||
|
||||
Identify the public IP address provisioned for the VM.
|
||||
|
||||
![Public IP.](https://raw.githubusercontent.com/microsoft/MTC_APPContainerization/main/media/ip.jpg)
|
||||
![Public IP.](../media/ip.jpg)
|
||||
|
||||
Use the IP address to access the Airsonic app at http://{ip}/airsonic
|
||||
![Airsonic App.](https://raw.githubusercontent.com/microsoft/MTC_APPContainerization/main/media/app.jpg)
|
||||
![Airsonic App.](../media/app.jpg)
|
||||
|
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 27 KiB |
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 11 KiB |
Загрузка…
Ссылка в новой задаче