FactoryOps will be a program to support production planning
-
instal .NET 8.0 SDK
-
instal Docker - for Windows: Docker Desktop
-
instal EntityFramework tool for dotnet, in terminal type:
dotnet tool install --global dotnet-ef
-
instal development certificate for backend, in terminal type:
dotnet dev-certs https --trust
-
instal frontend packages, in terminal in
./FactoryOps/frontend/factory-ops/
type:npm install
-
(optional) instal backend packages, in terminal in
./FactoryOps/backend/FactoryOps.Api/
type:dotnet restore
in terminal:
-
run database locally, go to
./FactoryOps/backend/
and run Powershell scrypt. ./run-database.ps1
, this will download docker image and run container with database. -
go to
./FactoryOps/backend/FactoryOps.Api/
and run migrationdotnet ef database update
- local database, run by Powershell scrypt
. ./run-database.ps1
- backend, run by command
dotnet run
in folder./FactoryOps/backend/FactoryOps.Api/
- frontend, run by command
npm start
in folder./FactoryOps/frontend/factory-ops/