boshi1nan / scaffold-cloud

A scaffold multi-module project created by Spring Cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scaffold-cloud

A scaffold multi-module project created by Spring Cloud

中文

author JDK Spring Boot Spring Cloud LICENSE Gitter

star star star fork


Introduction:notebook_with_decorative_cover:

With the development of the micro services, there are a lot of frameworks we should study. But when we create a project it always the same to integrate the refs of all the dependencies. Mostly, what we want is to use them but to do the duplicate things. So I create a scaffold of Spring Cloud to use and study Spring Cloud frameworks for coders. And you can use it develop your projects fast.

For Who:information_desk_person:

It’s a scaffold project for everyone who want to create a Spring Cloud stuff quickly.

Quick Start:new:

Foreplay:previous_track_button:

Because this is a Java project, if you have not developed java projects or some other relevant experience you may need start from RUNOOB.

And then you should learn about creating a java web project.

Relevantly, mysql, Redis, docker, maven, etc. Learn more if you can.

Now Start It:beginner:

Start locally:house:

  1. Install MySQL locally and remember your username and password, also port(default 3306)

  2. Install Redis, same note as last step

  3. Install maven, if you are in China, use Alibaba’s mirror will be faster:

    <mirror>
      <id>alimaven</id>
      <name>aliyun maven</name>
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>        
    </mirror>
  4. Clone from git git@github.com:Fatezhang/scaffold-cloud.git

  5. Make sure the configuration in your application-local.properties are correct.

  6. Start scaffold-eureka, for automically registration/discovery

  7. Start scaffold-tx-manager, for distributed transaction

  8. Start scaffold-business-sys-service, this is a basic module, others depends on it

  9. Start scaffold-operate

  10. Visit http://localhost:8750 , it's a CMS management platform

Start in docker:nut_and_bolt:

  1. Install maven
  2. Install docker,follow install guide
  3. If you get some issue with this: docker-compose: command not found install guide here: https://docs.docker.com/compose/install/
  4. Go into the folder
  5. Run script ./.scripts/recreate-docker-image.sh to create docker images.
  6. Run script ./.scripts/start-docker-service.sh to start with docker-compose
  7. Visit http://localhost:8750 , it's a CMS management platform

The CMS management platform looks like this

home home

Contributing

If you want to contribute this project, just rise issues or PRs to me. Thank you.

About

A scaffold multi-module project created by Spring Cloud

License:MIT License


Languages

Language:Java 91.4%Language:CSS 5.5%Language:FreeMarker 2.4%Language:PHP 0.4%Language:TSQL 0.3%Language:Shell 0.1%Language:Groovy 0.0%