Skip to content

rvanoord/qr-code-run

 
 

Repository files navigation

BCC Code Run

Running Locally

Run docker-compose up --build
Visit http://localhost:5125/swagger

Running frontend

Run yarn && yarn run dev in frontend folder
Run dotnet run in Reverse Proxy folder
Visit https://localhost:7298/

This is required to get HTTPS to work, which is required for cookies

Running With Visual Studio

Debug using the "docker-compose" profile.

Working with Data in Directus

  1. Visit http://localhost:5127/
  2. Log in with [email protected] / password
  3. Navigate to Settings -> Data Model and make the relevant collections visible

Accessing Database

  1. Visit: http://localhost:5126/
  2. Log in with: [email protected] / password
  3. Right click "Servers"->Register->Server...
  4. Add following parameters
    1. Name: bcc-code-run
    2. (Under connection)
    • Host name: host.docker.internal (on windows, can also try localhost on other platforms)
    • Port: 5432
    • Username: admin
    • Password: password
  5. Database tables can be found under bcc-code-run->Schemas->public

Adding Database Migrations

In api/:

dotnet tool restore
dotnet ef migrations add [Migration Name]

Migrations are automatically applied when the a new version of the application is deployed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 50.5%
  • C# 31.8%
  • Vue 11.1%
  • TypeScript 4.0%
  • Dockerfile 1.0%
  • JavaScript 0.6%
  • Other 1.0%