1 Star 0 Fork 0

wiseai/leanote

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
lifephp 提交于 2021-03-26 15:52 . Update .travis.yml
language: go
go: 1.15
services:
- mongodb # 2.4.12
install:
- go version
- export PATH=$PATH:$HOME/gopath/bin
# - go get -v github.com/leanote/leanote/app
- go get -u github.com/revel/cmd/revel
# - ls $GOPATH/src/github.com/revel/
# - go get github.com/revel/moudle/revel
# - go install github.com/revel/cmd/revel
- revel version
- pwd
- ls
script:
- wget https://github.com/leanote/leanote/archive/refs/heads/master.zip
- unzip master.zip
- mv leanote-master leanote
- cd leanote
- mongo --version
- mongorestore -h localhost -d leanote --dir ./mongodb_backup/leanote_install_data/
- cd ./sh
# - cd $GOPATH/src/github.com/leanote/leanote/sh
- sh run.sh &
# gen tmp/main.go, routes/routes.go
#- go run app/cmd/main.go
# build
#- go build -o leanote github.com/leanote/leanote/app/tmp
# run with port 9000
#- ./leanote -importPath=github.com/leanote/leanote -runMode=dev -port=9000 &
- sleep 10s;
# test
- curl http://localhost:9000
- curl http://localhost:9000/blog
- curl http://localhost:9000/login
- curl http://localhost:9000/demo
# - revel build github.com/leanote/leanote tmp
# OK
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wiseai/leanote.git
git@gitee.com:wiseai/leanote.git
wiseai
leanote
leanote
master

搜索帮助