Create First User

LGDXRobotCloud.Data completes the database migration and creates the first user.

cd LGDXRobotCloud.Data
dotnet run --initialiseData "true" \
  --email "[email protected]" \
  --fullName "Full Name" \
  --userName "admin" \
  --password "password"
Parameter Example Value Description
–initialiseData true Whether to initialise data
–email [email protected] User email address
–fullName Full Name User’s full name
–userName admin Username
–password password User password

Run

You can run the application using dotnet run in the following projects:

  • LGDXRobotCloud.API
  • LGDXRobotCloud.UI
  • LGDXRobotCloud.Worker

Alternatively, you can open the project with Visual Studio Code, switch to the Run and Debug tab, where you can choose to run all projects or run a single project individually.

To access the frontend, visit https://localhost:5103/Login. For the backend Scalar (an alternative to Swagger UI), visit https://localhost:5163/scalar/. If the backend requests a certificate, choose Not to send the certificate.