Git Product home page Git Product logo

bubble's Introduction

Bubble清单

一个基于gin+gorm开发的备忘录

一个基于gorm增删改查的web小程序

下载

git clone https://github.com/gopherer/Bubble.git

配置Mysql

1.在Mysql中执行一下代码创建项目所需的数据库:

CREATE DATABASE bubble DEFAULT CHARSET=utf8mb4;

2.在bubble/conf/config.ini文件中按如下提示配置数据库连接信息。 `

port = 80
release = false
[mysql]
user = 你的数据库用户名
password = 你的数据库密码
host = 你的数据库host地址
port = 你的数据库端口
db = bubble

`

新增bubble/conf/config.json使用json文件保持项目配置

编译

go build -o bubble.exe .\main.go

执行

./bubble conf/config.ini

亦或

./bubble conf/config.json 但需要启动注释中的代码

启动

在浏览器输入 localhost

浏览器默认访问80端口 localhost 是127.0.0.1的别名

image

其他

项目源地址

项目学习地址 最新Go Web开发教程基于gin框架和gorm的web开发实战 (七米出品)

bubble's People

Contributors

gopherer avatar

Stargazers

 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.