Skip to content

Nowa instalacja

1 Prerequisites

Required

  1. Newest Windows Server with all security updates
  2. Web Server IIS
  3. SQL SERVER 2016 Sp2 Express or Access to SQL SERVER instance
  4. .NET CORE 7 (Hosting bundle for server)
  5. GIT SCM
  6. Optional SSL FREE SSL for HTTPS https://www.win-acme.com/

2 Installation Steps

  1. IIS Utworzyć aplikacje
  2. IIS Dodać binding np test.platformaerp.com
  3. IIS Ustawić Application pool
    • .NET CLR: No Managad Code (ASP.NET Core runs in a separate process and manages the runtime. ( application pool setting ))
    • Start Mode: AlwaysRunning
    • User: localsystem
  4. Rozpakować wersje do folderu
  5. Zmienić nazwę pliku appsettings.template na appsettings.json wprowadzić odpowiednie zmiany
  6. (jelsi istnieje juz baza danych )wprowadzić konfiguracje w app.hosting
    1. hosting_domain np test.platformaerp.com
    2. hosting_db
    3. hosting_server
    4. hosting_email
    5. hosting_status = 2
    6. hosting_datastore
    7. hosting_dsn
  7. zalogować się na hosting_domain kliknac przypomnij hasło

3 SQL SERVER

  1. Restore bazy danych ( system utworzy sam baze jesli nowa) backup jest w wersji 13.00'select @@version'
  2. dodać użytkownika SQL
  3. upewnic sie ze baza ma Server authentication: SQL Server and Windows Authentication mode (wymagany restart)
  4. Zmienic tabelkę [dbo].[hosting]

4 Pierwsze uruchomienie

{{host}}/api/core/system

jesli nie sa ustawione zmienne

  • kv.v.api.url = _host.hosting_domain
  • zakładany jest uzytkownik = _host.hosting_email
  • kv.v.api.owner.name = _host.hosting_company
  1. Parametryzacja
  2. kv.v.owner.language = PL < zmiana na jezyk polski

Troubleshoting

  1. static compression and dynamic compression must be disabled
  2. run browser local on the server there will be additional messages
  3. Check net core version, try manually launch
Bash
1
2
3
4
5
// powinna byc 2.2.3
dotnet --info  

//uruchomic moze powic sie wtedy informacja co jest nei tak
dotnet app.dll