Skip to content

Install Pleasanter in a serverless configuration on Azure App Service using the installer

Overview

This procedure is for building a Pleasanter operating environment using the "Installer". You can also install it using the previous procedure of manually placing modules and setting parameters. Please refer to the following for manual installation procedures.
Install Pleasanter on Azure App Service with serverless configuration

Target Environment/Version
Web Microsoft Azure App Service
DB Microsoft Azure SQL Database
ランタイムスタック .NET 10
Pleasanter 1.5.0.0 or later

Limitations

  1. Installation using the "Installer" is for version 1.5.0.0 or later. Please refer to the manual installation procedures when installing version 1.4.23.3 or earlier.

    Install Pleasanter on Azure App Service with serverless configuration

Prerequisites

  1. You can log in to the Azure Portal.
  2. One instance of Microsoft Azure App Service (Windows/.NET 10) is prepared.
  3. One instance of Microsoft Azure SQL Database is prepared.
  4. The connection string for Microsoft Azure SQL Database is prepared.
  5. The firewall settings for Microsoft Azure SQL Database allow connections from App Service and PC.

Procedure

The construction procedure is as follows.

  1. .NET settings
  2. Install the installer
  3. Set up Pleasanter
  4. Check that Pleasanter is running

1. .NET Settings

  1. Connect to the Azure Portal.
  2. Open App Service.
    The Azure Portal with App Service open
  3. Select the App Service instance you created.
  4. Open "General Settings" in the "Configuration" menu and set it as shown below.
    The "General settings" screen of the App Service "Configuration" menu

    Column Settings
    .NET version .NET 10 (LTS)
    Platform 64bit
    FTP status Disabled
    Always connected On

2. Install the Installer

  1. Stop the instance in App Service.
  2. Access Kudu.
  3. Click "Advanced Tools" from "Developer Tools" in the left menu of App Service
    The left menu of App Service, with "Advanced Tools" under "Development Tools"
  4. Click the "Move" link
    The "Advanced Tools" screen of App Service, with the link that opens Kudu
  5. Click "Debug console" > "CMD" from the Kudu header menu
    The Kudu header menu, choosing "CMD" under "Debug console"
  6. Install the installer. (Depending on the user, it may be D:\home. In that case, please read accordingly.)
    1. Open the Nuget Gallery for Implem.PleasanterSetup from here and download the .nupkg file from "Download package".
      The NuGet Gallery page for Implem.PleasanterSetup, with "Download package"
    2. Execute the following command to create a folder of your choice to install the installer.
      ※This procedure explains how to create C:\home\dotnet-tools.
      mkdir C:\home\dotnet-tools
      
    3. Place the .nupkg file downloaded in 2.4.1 in C:\home\dotnet-tools.
    4. Execute the following command to install the installer.
      dotnet tool install Implem.PleasanterSetup --tool-path C:\home\dotnet-tools --add-source C:\home\dotnet-tools
      
    5. Set the path.
      set PATH=%PATH%;C:\home\dotnet-tools
      

3. Setting up Pleasanter

※By using the installer, the latest version resources will be automatically downloaded and the values ​​of Service.json and Rds.json will be automatically set based on the values ​​you entered.

  1. Run the installer by executing the following command.

    pleasanter-setup
    
  2. Enter the directory where you want to install Pleasanter.
    If you want to install it in "C:\home\site\wwwroot", leave it blank and press Enter.
    The installer prompt for the directory where Pleasanter is installed

  3. Enter the directory where you want to install CodeDefiner.
    If you want to install it in "C:\home\site\CodeDefiner", leave it blank and press Enter.
    The installer prompt for the directory where CodeDefiner is installed

  4. Enter the service name.
    Enter the database name created in Azure.
    If you are using "Implem.Pleasanter", leave it blank and press the Enter key.
    The installer prompt for the service name

  5. Enter the connection string.
    ※ Enter the full Microsoft Azure SQL Database connection string.
    The installer prompt for the database connection string

  6. Enter the default language.
    Enter the number of the corresponding language.
    The installer prompt for the number of the default language

  7. Enter the default time zone.
    Enter the number for the corresponding language.
    The installer prompt for the number of the default time zone

  8. The summary screen will be displayed.
    If the entered values ​​are correct, enter y after "Shall I install Pleasanter with this content? Please enter ‘y(yes)' or 'n(no)'. : " and press Enter.
    ※The password is masked.
    The installer summary of the entered values, asking whether to install

  9. After execution, the following log will be displayed.

    Shall I install Pleasanter with this content? Please enter ‘y(yes)' or 'n(no)’. : 
    y
    Download Pleasanter
    Downloaded Pleasanter_1.5.0.0.zip to C:\home\site\Pleasanter_1.5.0.0.zip
    Start setting parameters
    Finish setting parameters
    <INFO> Starter.Main: Implem.CodeDefiner 1.5.0.0
    <INFO> Configurator.OutputLicenseInfo: 
    ServerName:
    Database:
    Deadline: 1/1/0001
    Licensee: 
    Users: 0
    <INFO> Configurator.OutputLicenseInfo: This edition is "Community Edition".
    Type "y" (yes) if the license is correct, otherwise type "n" (no).
    
  10. When the message "Type "y" (yes) if the license is correct, otherwise type "n" (no)" appears, enter y and execute.

    <SUCCESS> Starter.ConfigureDatabase: Database configuration has been completed.
    <SUCCESS> Starter.Main: All of the processes have been completed.
    Setup is complete.
    
  11. When setup is complete, a web browser will launch and display the Enterprise Edition trial information page.

    The Enterprise Edition trial information page opened in the browser after setup

4. Check that Pleasanter is running

  1. Start the instance in App Service.

  2. Open the Pleasanter login screen in your browser, enter "Login ID: Administrator" and "Initial password: pleasanter", and click the "Login" button.
    The Pleasanter login screen, where the login ID and initial password are entered

  3. After logging in, you will be asked to change the "Administrator" user password, so enter a password of your choice and click the "Change" button.
    The password change screen for the Administrator user, shown after the first login