Giter Club home page Giter Club logo

base's Introduction

Base

慕课网 Cap 老师已上课程购买地址:http://www.imooc.com/t/6512963

当前代码名称 Base

##1.快速创建代码仓库请使用下方命令

sudo docker run --rm -v $(pwd): $(pwd) -w  $(pwd) -e ICODE=xxxxxx cap1573/cap-v3 new git.imooc.com/cap1573/base

注意:
1.sudo 如果是 Mac 系统提示输入的密码是你本机的密码。
2.以上命令ICODE=xxxxxx 中 "xxxxxx" 为个人购买的 icode 码。
3.icode 码在购买完课程后,请使用电脑点击进入学习课程页面。
4.请勿多人使用统一个 icode 码(会被慕课网检测封号)。
5.这里git.imooc.com/cap1573/base仓库 名字需要和 go mod 名称一致

##2.根据 proto 自动生成 go 基础代码

make proto

##3.根据代码编译现有 Go 代码

make build

代码执行后会产生 base 二进制文件

##4.编译执行二进制文件

make docker

编译成功后会自动生成 base:latest 镜像 可使用 docker images | grep base 查看是否生成

##5.本课程使用 go-micro v3 版本作为微服务开发框架 框架地址:https://github.com/asim/go-micro

base's People

Contributors

caplost avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.