Deploy Project on Plesk


Smart Courier


Table of Contents

  1. Overview
  2. How to create database in plesk
  3. How to change Configuration?
  4. How to Deploy Published Files in Plesk?

A) Overview - Top

This is a .net Smart Courier application that assists you to manage your courier service. This Project template is Released with ASP .NET 4.7.2, the new project type was introduced in ASP .NET Core early previews. Although the project template was initially listed under the Web templates, it has since been relocated one level up in the New Project wizard. This is a great way to create potentially long-running services in .NET.


B) How to create database in plesk? - Top

  1. Login to plesk
    Open Databases By Clicking Databases link in Navbar
    Click on Add Database button
    FIle
  2. This is setup for creating Database.
    FIle
  3. Provide General Info:

    • Database Name: It is name of the database.
    • Database Server: It is the instance type of database (choose MSSQLServer).
    • Related Site: It is the name of website for which database is created.

    Provide Users Info:

    • Database User Name: It is name for created user for the database
    • Password: For Password Click on Generate and then click on show button which will show the password

    Create Database:

    • open notepad and copy all information regarding database configuration(Database Name,Database User Name,Password)
    • Click Ok to create Database

  4. Import Dump:

    • click on import dump button of previously made Database

    • FIle

    • This Window will open
      Click on Browse Button to open file dialogue

    • FIle

    • Navigate to Database File Folder
      select Backup File
      Click Open and then click Ok
      This step will make Tables in Database and make default entries

    • FIle


C) How to change Configuration? - Top

  1. Open the Folder Final Files\Installation_Files.
    Open the Web.config in any editor.
    FIle
  2. This is the Open File.
    FIle
  3. Provide Connection Info:

    • Data Source and connection:server : It is name or IP address of the database server.
    • initial catalog and conection:database : It is name of the database.
    • integrated security: Check this if you are using integrated security.
    • User ID and connection:user : It is name of the database user. It is not required if using integrated security.
    • Password and connection password : It is password of the database user. It is not required if using integrated security.

    Provide Topup charges:

    • config:TopupTransactionFee : It is Amount Charged in Percentage (Stripe)
    • config:MobileMoneyCharges : It is Amount Charged in Percentage (Mobile Money Transfer)


D) How to Deploy Published Files in Plesk? - Top

  1. Compressed All Files in Publish Folder
    FIle
  2. Login To Plesk Panel.
    Open your desired domain on which you want to deploy files.
    Click on File Manager.
    FIle
  3. Please confirm that you opened directory of Same Domain Name
    Click checkbox of Name to mark all files in that directory
    Click Remove Button and then confirm to delete all files
    FIle
  4. Click Plus Sign Button (+) which will show a dropdown
    Click Upload File
    FIle
  5. Now a File dialogue will appear
    select zip file which you made in First Step of How to Deploy Published Files in Plesk
    Click open to Upload File
    it may take a few moments to upload file
    FIle
  6. Check Checkbox of uploaded zip file
    Click on Archive button a dropdown will appear
    click on Extract Files
    FIle
  7. Successfully Published
    FIle

Go To Table of Contents