Nanofabric-servicefabric Operation Manual

Source: Internet
Author: User

Service-fabric-52abp-ocelot

A service fabric sample with a frontend, one API gateway and 52abp microservices
Case study based on service fabric + ocelot + identity server4 + 52abp

Warehouse address: https://github.com/geffzhang/NanoFabric-ServiceFabric
This case is jointly developed by Zhang Shanyou, staneee, and Liang Tongming.
Case study based on service fabric + ocelot + identity server4 + 52abp

Basic Service farbic reference

Https://docs.microsoft.com/zh-cn/azure/service-fabric/service-fabric-overview
The above is the basic content

Project Description in Solution

1 service fabric application-> nanofabric_servicefabric
 
Servicefabric app, which can be understood as startup guide for all other projects
2 identityserver 4-> serviceoauth
Identityserver4 Server
3 Gateway (ocelot)-> Gateway
 
API Gateway
4. microservices-> 01-servicea-> servicea
 
Default values apiidentityserver4 client: Default. Client
5 frontend (52abp)-> ltmcompanynamefree. yoyocmstemplate. Web. Host
 
52abp API host, stateless service, port 10090identityserver4 client: 52abp. Client
5 frontend (52abp)-> spahost
 
52abcfront-end static computing site, stateless service, before running the program on port 10091, use the command line to open this path 1. Enter NPM install to restore the dependency or enter yarn to restore the dependency 2. After the restoration is successful, enter NPM run build to package
5 frontend (52abp)-> frontendconsoleapp
 
Console program to be tested
5 frontend (52abp)-> 52abp-> All
* Serviceoauth and ltmcompanynamefree under this directory. yoyocmstemplate. web. the host dependency * serviceoauth depends on the user and login of 52abc, and the rest are independent, just for temporary convenience * ltmcompanynamefree. yoyocmstemplate. web. host depends on all and provides all APIs
Local startup project operation instructions

1. Start Service fabric local cluster manager to ensure that the local cluster is open.

2. OpenNanoFabric-ServiceFabric.slnSolution,Administrator privilege requiredThis is important; otherwise, an error is reported.
3. The database content is generated by default,Ltmcompanynamefree. yoyocmstemplate. migratorStart the migration file tool to generate a database.

4. Run the command line to open the static site on the front-end of the 52abc server and the stateless service. Before running the program on port 10091, run the command line command to open the path,
You need to compile the front-end package and openClientappThen run

 
1. Enter NPM install to restore the dependency or yarn to restore the dependency. 2. After the restoration is successful, enter NPM run build to package

5. SettingsNanofabric_servicefabricStart the project by default, and then start it.

6. After successful startup, access http: // localhost: 10091

# Ps: account and password
Default Account: Admin
Default password: 123qwe

Nanofabric-servicefabric Operation Manual

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.