-
-
Notifications
You must be signed in to change notification settings - Fork 14
Setup
This page describes how to install the Payroll Engine on a local Windows computer.
In order to use the Payroll Engine, the following services must be available.
The Payrfoll Engine is based on the Microsoft.NET Framework 9.0. The following websites offer downloads for installation:
-
Windows:
Run console apps
>Download x64
-
Linux:
Run server apps
>Install .NET
-
MacOS:
Run server apps
>Download x64 (Intel)
orDownload Arm64 (Apple Silicon)
The Payroll Engine Backend uses Microsoft SQL Server version 2017 (v14) or higher as its data store.
Installing the free Express version of Microsoft SQL Server involves the following steps:
- Download from the Microsoft website
- Run SQL Server Setup with the SQL Server collation setting
SQL_Latin1_General_CP1_CS_AS
.
Various vendors offer the option of renting a database. The following information is required to connect to a remote SQL server:
- SQL Server name
- Database name
- Login User ID
- Login password
Installing Payroll Engine involves the following steps:
- Download and extract the setup file
- Register the data types
- Set up applications
The Payroll Engine setup is available as a zip download in the Assets
> PayrollEngine_v{n.n.n}.zip
of the current release.
👉 Continue to Releases |
---|
After unpacking the zip file into a local directory, the installation is ready.
To automate the Payroll Engine, the file type .pecmd
must be registered for the Payroll Console.
To do this, run the following command file in Windows in Administrator mode:
> FileType.Reg.cmd
When registering the file type manually (Windows, Linux, MacOS), the file extension
.pecmd
must be assigned to the application{SetupPath}/Console/PayrollEngine.PayrollConsole.exe
.
To start the setup, run the command:
> Admin.cmd
The Admin application is used to set up and run the required Payroll Engine services.
The first step is to set up the Backend:
- Add the database connection and install the database:
Backend
>Database
>Add
- Local database: integrated security or SQL Server login
- Remote database: SQLServer login
- Confirm database installation
- Add a Backend API server connection:
Backend
>Webserver
>Add
> Edit dialog - Start the Backend API server:
Backend
>Webserver
>Start
> .NET console window- The first time you access a local https address, you will need to confirm the installation of the local developer certificate.
- Test the Backend API
- Manual using swagger:
Backend
>Webserver
>API
> API Swagger page - Automatic tests:
Tests
>Open
>Test.All.pecmd
- Manual using swagger:
- Setting up the start example (optional):
Examples
>Open
>StartPayroll/Setup.pecmd
The web application is then set up:
- Add the Web Application Server connection:
Web Application
>Webserver
>Add
> Edit dialog - Start the Web Application Server:
Web Application
>Webserver
>Start
> .NET console window - Login to the Web Application: :
Web Application
>Webserver
>Login
> Web Application login page
If the start example is available, the following data is used for registration
- Name:
lucy.smith@foo.com
- Passwort:
@ayroll3nginE
Other features of the Admin Applikation:
- All configuration data is stored in the operating system's environment variables.
- The
Edit
button can be used to change the settings. - The database connection can be checked.
The Admin application provides the following commands for the backend:
- Start the Backend API server:
Backend
>Webserver
>Start
> .NET console window - Browse the Backend API:
Backend
>Webserver
>API
> API Swagger page
Control of the web application:
- Start the Web Application Server:
Web Application
>Webserver
>Start
> .NET console window - Login to the Web Application:
Web Application
>Webserver
>Login
> Web Application login page
If the database is out of date, you can use the Admin Tool to update it:
Backend
> Database
> Update
The installation file contains additional folders:
-
docs
- Payroll Engine documentation -
Tests
- Backend payroll tests (run by the setup)-
Tests\Test.All.pecmd
- Runs all payroll tests on the Engine -
Tests\<Test>\Test.pecmd
- Runs a single test
-
-
Examples
- Payroll samples (setup installs one sample)-
Examples\Setup.All.pecmd
- Installs all billing samples -
Examples\<Example>\Setup.pecmd
- installs a single payroll example
-
-
Schemas
- JSON validation schemas
- Basic Payroll example
- Resources with documents, blogs, tests and examples
🤝 Thank you for supporting this project with a donation.
⚡ This is a pre-relase version of the initial development, please read the restrictions.
- Payroll Engine