Added info in readme and a new redirect

This commit is contained in:
Dominic Villemure
2024-03-27 23:53:56 -04:00
parent 2b810772b3
commit 7540d4437f
2 changed files with 13 additions and 2 deletions

View File

@@ -22,6 +22,18 @@ docker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=<YourPassword>' -p 1433:1433
Set your password in an env var for the connection string. Windows : $Env:DB_PASSWORD = "YourPassword" Set your password in an env var for the connection string. Windows : $Env:DB_PASSWORD = "YourPassword"
## Entity Framework
Create a new migration :
```
./Ef.ps1 migrations add NomDeLaMigration
```
Update database :
```
./Ef.ps1 database update
```
## Build ## Build
Run `dotnet build -tl` to build the solution. Run `dotnet build -tl` to build the solution.

View File

@@ -2,7 +2,6 @@ using Stripe;
using Stripe.Checkout; using Stripe.Checkout;
using Hutopy.Application.Common.Interfaces; using Hutopy.Application.Common.Interfaces;
namespace Hutopy.Infrastructure.Stripe; namespace Hutopy.Infrastructure.Stripe;
public class StripeService : IStripeService public class StripeService : IStripeService
@@ -35,7 +34,7 @@ public class StripeService : IStripeService
}, },
Mode = "payment", Mode = "payment",
UiMode = "embedded", UiMode = "embedded",
ReturnUrl = "http://localhost:5174", ReturnUrl = $"http://localhost:5173/creatorfolio",
}; };
var service = new SessionService(); var service = new SessionService();