Skip to content

llaslo/Something

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Something

Start docker

  1. docker-compose up

Setup database in docker

  1. Open the command prompt and cd to the Database.EntityFramework project and run dotnet ef migrations add InitialCreate.
  2. Run Update-Database from the package manager console after selecting Database.EntityFramework project.
    1. Not supported on MAC - Workaround

Run docker-compose down to delete all existing tables and redo step 1 & 2.

Connect to MySQL

  1. Download MySql Workbench
  2. Connect using these credentials
    1. Database=db
    2. Uid=root
    3. Pwd=mysql

Run client side

  1. Run yarn install in the /WebApplication directory to install dependency libs
  2. Run yarn build in the same directory to build using webpack

Client side test

  1. Run yarn test to run all tests (yarn test {testname} to run individual test)

To add any new dependencies in the client side, please use yarn add (not npm) and don't forget to commit the updated yarn.lock file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 72.8%
  • TypeScript 20.7%
  • CSS 3.4%
  • JavaScript 3.1%