Skip to content

m-wilczynski/Bureaucratize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bureaucratize

Sourcecode for my engineer degree thesis: "Processing documents filled in by hand with example usage in web applications".

Not all functionalities might be up to date with final version but it should be enough for showing general idea behind the work.

For Polish version of instruction or any inquiries, questions or change requests please email me via: michal@wilczynski.pro

Technologies

  • CNTK (CNN) + Accord.NET
  • ASP.NET Core with WebSockets
  • Akka.NET
  • Entity Framework Core with SQL Server

Requirements

How to build

How to run in development mode

  • Ensure that you have local Nuget feed configured properly (see my instruction: https://github.com/m-wilczynski/env-utils/blob/master/notes/local-nuget-feed.md#create-directory-for-local-nuget-feed)
  • Ensure that you have local SQL Server instance with LocalDB; if not, install SQL Server Express and choose LocalDB during installation; installation package for SQL Server Express: https://www.microsoft.com/pl-pl/sql-server/sql-server-editions-express
  • Configure connecting strings for all applications (it can be the same database), in configs:
    • Web App: .\src\Bureaucratize\Bureaucratize.Web\appsettings.json
    • Akka Host: .\src\Bureaucratize\Bureaucratize.Console.Host\App.config
    • File Storage Service: .\src\Bureaucratize.FileStorage\Bureaucratize.FileStorage.Service\appsettings.json
  • Open Visual Studio 2017 and run ./src/Bureaucratize.FileStorage/Bureaucratize.FileStorage.sln and hit "IIS Express" to run it in developement mode; browser window will open and you will get service address (by default it's http://localhost:50499)
  • Configure address of FileStorage service in rest of the applications (they are configured to use http://localhost:50499 by default) , ie:
    • Web App: .\src\Bureaucratize\Bureaucratize.Web\appsettings.json
    • Akka Host: .\src\Bureaucratize\Bureaucratize.Console.Host\App.config
  • Open NEW instance of Visual Studio 2017 and run ./src/Bureaucratize/Bureaucratize.sln; then hit "Start"; both Web App and Akka Host should launch together;

Known issues

  • Sometimes WebApp (Bureaucratize.Web) or AkkaHost (Bureaucratize.ImageProcessing.Host) will fail to build due to mismatch of libraries between .NET Framework and .NET Core when you build entire solution; to fix this, REBUILD only chosen application project (sometimes you might need to REBUILD and then - immediately after - BUILD chosen application .csproj);
  • if ImageProcessing.Host doesn't start first, Bureaucratize.Web won't connect properly (ever). You need to restart AppPool where Bureaucratize.Web is installed so that it will connect properly to ActorSystem for the first time; if you're running it via Visual Studio (via IIS Express), just stop the web app and run it again;

Project has been curated under PJATK

Website: http://www.pja.edu.pl

About

🗄️ [C#/CNTK/ASP.NET Core 2.0/Akka.NET/EF Core 2.0] Source for my engineer degree thesis on processing documents filled in by hand in web apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published