Skip to content

mehdika2/Mahi

Repository files navigation

Mahi logo

Mahi interpreter (فارسی)

Mahi is a Lua-based Web Application, utilizing the Fardin web server for handling HTTP requests.

The primary purpose of this program is to host and execute web pages that are dynamically interpreted using the Lua scripting language.

Dependencies

This project depends on the following repository:

Prerequisites

Before you can run this project, you need to have the following installed:

Run Project

  1. Install .NET SDK:

    • Download and install the .NET SDK from the official website: Download .NET.
  2. Clone the Dependent Project:

    • Clone the repository of the dependent project:
      git clone https://github.com/mehdika2/fardin
  3. Build the Dependent Project:

    • Navigate to the cloned directory:
      cd fardin
    • Build the project to generate the DLL:
      dotnet build
  4. Add Reference to the DLL:

    • After building, locate the generated DLL file (usually found in the bin/Debug/netX.X/ directory).
    • Add a reference to this DLL in your main project (Visual studio):
      • Right-click on your project in Visual Studio > Add > Reference > Browse and select the DLL.
  5. Compile Your Project:

    • Navigate back to your main project directory:
      cd ../mahi
    • Compile your project:
      dotnet build
  6. Create Page Files:

    • Ensure that the page files are placed in the wwwapp folder:
  7. Place Required Libraries:

    • You can download and palce required libraries it in libraries folder

Credits

  • Logo designed by Freepik
  • This project uses the dkjson module for JSON handling, which is licensed under the MIT License.