mirror of
https://github.com/go-kratos/kratos.git
synced 2026-05-22 10:15:24 +02:00
7b6332ee75
* deps: middleware add separate go.mod and removes framework deps
How to run this blog example server
- You should ensure that your mysql server is running.
- Ensure that the database named
testdbhas been created, otherwise you should execute the following database script:
create database testdb;
- Modify the
configs/config.yamlfile and add your mysql information in the data source:
data:
database:
driver: mysql
source: root:password@tcp(127.0.0.1:3306)/testdb?parseTime=True
- Run your blog server:
make run