Added info in readme and a new redirect
This commit is contained in:
12
README.md
12
README.md
@@ -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.
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user