Montr
R&D of B2B automation applications (SSO, MDM etc)
Install / Use
/learn @montr/MontrREADME
Montr
R&D of B2B automation applications
- SSO
- MDM
- more to come...
Table of contents
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
- .NET 7.0
- PostgreSQL
- Node.js (only for development)
Installation
- Clone repository from
git@github.com:montr/montr.git - Create database
montr(or choose your database name) in PostgreSQL. - Copy sample
secrets.jsonfromtemplates/secrets.jsontoMicrosoft/UserSecrets/1f5f8818-a536-4818-b963-2d3ef5dcef03directory. Specify choosen database name and other connection string parameters inDefaultandMigrationconnections ofConnectionStringssection insecrets.json. - Run
dotnet watch runin./src/Hostto watch backend sources changes. During first startup database structure (tables etc.) and default data (users etc.) will be created. - Install node packages in
./src/uiwithnpm install. - Run webpack with
npm installto watch frontend sources changes in./src/ui. Compiled assets will be copied to./src/Host/wwwroot/assetsand served from these location. - Open https://127.0.0.1:5001 in browser. Specify default administrator email and password on opened Setup page.
In case of error Unable to load shared library 'libgdiplus' or one of its dependencies. when running app in macOS:
- Install libgdiplus with
brew install mono-libgdiplus - To fix web app link libgdiplus from install location
sudo ln -s /opt/homebrew/Cellar/mono-libgdiplus/6.1/lib/libgdiplus.dylib /usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.0 - To fix unit tests link libgdiplus from install location
sudo ln -s /opt/homebrew/Cellar/mono-libgdiplus/6.1/lib/libgdiplus.dylib /usr/local/share/dotnet/shared/Microsoft.AspNetCore.App/6.0.0
License
Montr is AGPL 3.0 licensed.
