Browse Source

Merge branch 'main' into Issue-11635-DistributedLock

pull/85/head
Galip Tolga Erdem 5 years ago
parent
commit
1ca3a03107
  1. 8
      README.md
  2. 2
      services/catalog/src/EShopOnAbp.CatalogService.MongoDB/MongoDB/CatalogServiceMongoDbContext.cs

8
README.md

@ -30,7 +30,13 @@ You can either run in Visual Studio, or using [Microsoft Tye](https://github.com
- Wait until all applications are up!
- You can check running application from tye dashboard ([localhost:8000](http://127.0.0.1:8000/))
- You can check running application from tye dashboard ([localhost:8000](http://127.0.0.1:8000/))
- **Note**: If you see all of your applications keep restarting on tye dashboard or tye console, you may be facing ssl certificate issues. To diagnose the problems better, check any application logs. If it is related with SSL, developer certificate creation may have failed because of powershell issues regarding authorization. Check the powershell script running configuration and set policy for your local machine as:
```bash
Get-ExecutionPolicy list
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
```
See [Microsoft Powershell documentation](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-executionpolicy?view=powershell-7.2) for more information.
- After all your backend services are up, start the angular application:

2
services/catalog/src/EShopOnAbp.CatalogService.MongoDB/MongoDB/CatalogServiceMongoDbContext.cs

@ -8,7 +8,7 @@ namespace EShopOnAbp.CatalogService.MongoDB
[ConnectionStringName(CatalogServiceDbProperties.ConnectionStringName)]
public class CatalogServiceMongoDbContext : AbpMongoDbContext, ICatalogServiceMongoDbContext
{
public IMongoCollection<Product> Questions => Collection<Product>();
public IMongoCollection<Product> Products => Collection<Product>();
protected override void CreateModel(IMongoModelBuilder modelBuilder)
{

Loading…
Cancel
Save