Support Center
Installation Instructions for Windows, Docker, & Linux
Please follow the instructions below for the platform you wish to install Saber onto. Make sure to install & configure the Saber database onto SQL Server before installing Saber onto your web server of choice. Thank you again for your support of this project!
You can download the latest release of Saber at https://www.github.com/Datasilk/Saber/releases.
SQL Server
-
To create your MSSQL Database, follow the steps below:
-
To create a new database, open Microsoft SQL Server Management Studio and execute the file Sql/Saber_Create.sql located in your Saber release zip file. You may want to change the following lines to your own database name:
:setvar DatabaseName "Saber":setvar DefaultFilePrefix "Saber" -
Using Microsoft SQL Server Management Studio, navigate to SQL Server > Security > Logins in the Object Explorer. Right-click Logins & create a new user:
-
If your database server exists on the same server as your web server, you can configure Saber to use a Trusted Connection. In this case, create a new user for NT AUTHORITY\NETWORK SERVICE and within the user's properties window, select User Mappings, then check the Saber database, and check the following database membership roles for the Saber database: db_datareader, db_datawriter, db_owner.
-
If your database server exists on the network, you will need to create a new SQL Server user / password, and within the user's properties window, select User Mappings, then check the Saber database, and check the following database membership roles for the Saber database: db_datareader, db_datawriter, db_owner.
-
-
-
To update your existing MSSQL Database, follow the steps below:
-
To update an existing database, use the file Sql/Saber.dacpac located in your Saber release zip file. In Microsoft SQL Server Management Studio, right-click your existing Saber database and select Tasks > Upgrade Data-tier Application, then follow the steps within the wizard to update your database.
-
Windows (IIS)
- Install the .NET Core Hosting Bundle onto your Windows server. This will allow IIS to host .NET Core web applications.
-
Create a new website within Internet Information Services (IIS)
- Open IIS by navigating to your Start Menu > Windows Administration Tools > Internet Information Services
- Under Sites, right-click and select Add Website... and complete the wizard to create your website within IIS.
- Under Application Pools, right-click the application pool associated with your new website and select Basic Settings..., then change .NET CLR version to No Managed Code
- If your SQL Server is running on the same server as IIS, you can use a Trusted Connection. In this case, right-click the application pool associated with your new website and select Advanced Settings..., then change Identity to NetworkService
- Copy all files & folders from your Saber release zip file's App folder to your IIS website folder for Saber.
- Open web.config in your IIS website folder and change hostingModel="OutOfProcess" to hostingModel="InProcess"
-
Open a web browser and navigate to your website.
NOTE: If you receive an In-Process Start Failure, you may need to open config.prod.json and change your database connection string to point to the correct database. Make sure to restart your website in IIS after making changes to your config file.
Docker
- After extracting the contents of the release zip for Saber, run docker compose up to create a Docker image and run the Docker container for Saber
- Alternatively, you can run docker build . to build a Docker image that you can use to run in a Docker container for any cloud service provider, such as Amazon AWS ECS.
Linux
-
Use the following guides to install Saber on your Linux distribution of choice