- dotnet cli
- docker desktop
- Create a
.env
file at the top most directory (.\ECommerce
) - Copy the fieds from the
.env.sample
file into the new.env
file - Replace
[Fill]
with relevant data. The password can be whatever you want and theAPP_SECRET
can be something from here: https://randomkeygen.com/ (9sf98UpVokNr-~(v1XEwE4~0B+S7Jq
for example) - From
.\ECommerce
rundocker compose build
- From
.\ECommerce
rundocker compose up
- From
.\ECommerce.DAL
rundotnet ef database update -s ../ECommerce.API
From .\ECommerce.DAL
run dotnet ef migrations add addedDescToProduct -s ../ECommerce.API