If you like to build Financial App from sources, you can follow the instructions below.
- .NET Core 2.1 SDK.
- Node.js LTS or higher (Node.js 10.x is supported too).
- Yarn or higher
- Powershell 5.x
- Powershell Core (for building mail templates)
Environment:
- Ensure
yarnandnodeare in yourPATH. - Ensure
dotnetis in yourPATH.
For running the build script:
- Ensure the Powershell execution policy is set to RemoteSigned.
Pull the sources from this repository's home page.
Use the build script in the root to build the application:
build
To create a deployment to one of the supported platforms:
build -Target Publish
The results will be emitted in the build/publish folder. For additional supported command line parameters run:
build -h
After you've build the application once you can start developing.
To develop, just run the application using dotnet run. The webpack development middleware will automatically compile and serve any frontend dependencies.
If you have not created a database yet, please run build -Target Generation-MigrationScript to generate a migration script and run it on a local database.
Code style and linting of TS/JS/JSON is enforced via TSLint and Prettier. If you have run yarn, prettier will be run as a pre-commit hook.
Both Visual Studio and Visual Studio Code work well with the project.
Recommended extensions for Visual Studio:
- ReSharper
- TSLint
- Prettier
Recommende extensions for Visual Studio Code:
- Editor support
- csharp
- Code formatting and linting
- tslint
- vscode-prettier
- vscode-status-bar-format-toggle
- Email template editing:
- vscode-mjml
- mjml-syntax