R&D of B2B automation applications
- SSO
- MDM
- more to come...
- ๐Getting Started
- ๐งพ License
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- .NET 7.0
- PostgreSQL
- Node.js (only for development)
- Clone repository from
[email protected]:montr/montr.git
- Create database
montr
(or choose your database name) in PostgreSQL. - Copy sample
secrets.json
fromtemplates/secrets.json
toMicrosoft/UserSecrets/1f5f8818-a536-4818-b963-2d3ef5dcef03
directory. Specify choosen database name and other connection string parameters inDefault
andMigration
connections ofConnectionStrings
section insecrets.json
. - Run
dotnet watch run
in./src/Host
to watch backend sources changes. During first startup database structure (tables etc.) and default data (users etc.) will be created. - Install node packages in
./src/ui
withnpm install
. - Run webpack with
npm install
to watch frontend sources changes in./src/ui
. Compiled assets will be copied to./src/Host/wwwroot/assets
and served from these location. - Open https://127.0.0.1:5001 in browser. Specify default administrator email and password on opened Setup page.
Additional setup on macOS
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
Montr is AGPL 3.0 licensed.