Skip to content

Youknow2509/web_qlsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contact:

TODO:

  • Input data with file
  • Auth ...
  • ....

How to run:

  • Run database in docker:

    • Note: changle path volume.
    • After running
        docker compose up -d
    
  • Init table db

    • Note: Install dotnet ef global
      dotnet tool install --global dotnet-ef
    
    • Create table ApplicationDbContext:
          dotnet ef database update --context ApplicationDbContext
      
    • Create table IdentityDbContext:
          dotnet ef database update --context IdentityDbContext
      
    • Create table QuanLySinhVienDbContext:
          dotnet ef database update --context QuanLySinhVienDbContext
      
    • Create table SessionDbContext:
          dotnet ef database update --context SessionDbContext
      
    • Create table ViewDbContext:
          dotnet ef database update --context ViewDbContext
      
    • Run application (creaete admin and db init static):
          dotnet run
      
    • End Application.
  • Run sql template

    • New query QuanLySinhVienDbContext path file /sql/QuanLySinhVienDb.sql.
    • New query IdentityDbContext path file /sql/IdentityDb.sql.
  • Run application

    dotnet run

About

Quản Lí Sinh Viên

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published