8000
Skip to content

Latest commit

 

History

History

readme.md

DWKit is a low-code platform made with simplicity and flexibility in mind. DWKit allows you to model, automate and execute mission-critical business processes, whatever industry you're operating in. A ready-made solution is often not enough to satisfy your business requirements. Be it the need to ensure regulatory compliance or to build custom logic that goes beyond what the system has to offer, we believe that making the source code open is the way to go. You can use DWKit as a low-code on a no-code platform as well.

Hence, we made DWKit's source code available to our customers so that they can alter whatever it is that will make their business more efficient.

How to launch via docker

  1. Run the startascontainer script:

    • For Windows:
      • startascontainer.bat
    • For Linux/macOS:
      • chmod +x docker-files/wait-for-postgres.sh
      • chmod +x startascontainer.sh
      • ./startascontainer.sh

    This script build this DWKit's solution and run it with Postgres database.

  2. Open the following url in your browser: http://localhost:48800

To access the application, use the following default access parameters:

  • Login: admin
  • Password: 1

How to launch it with a custom database

  1. Set up a database for DWKit. It supports MS SQL, Oracle, PostgreSQL.
  2. Run scripts on the database from sql folder. You can find names of the scripts in sql/type of DB/readme.txt file.
  3. Check the connection string to the database in the config.cfg file

MS SQL Server example:

ConnectionString=Data Source=(local);Initial Catalog=dwkit;Integrated Security=False;TrustServerCertificate=True;User ID=sa;Password=1

PostgreSQL example:

ConnectionString=User ID=postgres;Password=1;Host=localhost;Port=5432;Database=dwkit;

  1. Run the starter script:

    • For Windows:
      • start.bat
    • For Linux/macOS:
      • chmod +x start.sh
      • ./start.sh
  2. Open the following url in your browser: http://localhost:48800

To access the application, use the following default access parameters:

  • Login: admin
  • Password: 1

How to update your solution based on DWKit

  1. Run updatesolution script:

    • For Windows:
      • updatesolution_run.bat
    • For Linux/macOS (this way requires PowerShell):
      • pwsh updatesolution.ps1
  2. Enter the path to your application.

  3. Don't forget update database if it's necessary.

  4. Rebuild your solution.

How to rebuild

  • For Windows:
    • Run buildandstart.bat
  • For Linux/macOS:
    • chmod +x buildandstart.sh
    • chmod +x start.sh
    • ./buildandstart.sh

How to run in Visual Studio

  1. Open dwkit.sln in Visual Studio or JetBrains Rider.
  2. Check the connection string to the database in the OptimaJet.DWKit.StarterApplication\appsettings.json file, ConnectionStrings section.
  3. Run OptimaJet.DWKit.StarterApplication project.

0