Coder Social home page Coder Social logo

beegodemo2's Introduction

一、项目说明:

新增包后: go mod tidy

起项目: bee run

在beego中,目前支持三种数据库驱动,分别是:

MySQL: github.com/go-sql-driver/mysql

PostgreSQL:github.com/lib/pq

Sqlite3:github.com/mattn/go-sqlite3

二、编译相关

编译镜像命令:

docker build -t beegodemo:v1 .

docker-compose相关

编译命令:

docker-compose build

启动服务命令:

docker-compose up -d

三、介绍beego

安装beego

go get github.com/astaxie/beego

安装bee工具

go get github.com/beego/bee

创建新项目

bee new ProjectName

启动项目

bee run 

beego中文文档:

https://beego.gocn.vip/beego/zh/developing/#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B

docker端口映射

https://cloud.tencent.com/developer/article/1193005

beegodemo2's People

Contributors

xiangzaixiansheng avatar

Watchers

 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.