Coder Social home page Coder Social logo

新手求教 about go-music HOT 5 CLOSED

Uptobillion avatar Uptobillion commented on August 10, 2024
新手求教

from go-music.

Comments (5)

Uptobillion avatar Uptobillion commented on August 10, 2024

服务器是linux cent OS X86
感激不尽

from go-music.

gizmo-ds avatar gizmo-ds commented on August 10, 2024

conf, static, views目录上传上去, 把build目录下的go-music_linux_x86上传到conf同目录下.
给go-music_linux_x86执行权限. 然后执行.
改端口的话在conf/app.conf里改就行了.

要后台执行的话可以用screen之类的, screen具体怎么用你可以Google一下.

from go-music.

Uptobillion avatar Uptobillion commented on August 10, 2024

谢谢

from go-music.

Uptobillion avatar Uptobillion commented on August 10, 2024

beego:can't find templatefile in the path:home.html
Request Method: GET
Request URL: /
RemoteAddr: 112.10.181.29
Stack
C:/Go/src/runtime/asm_386.s:498
C:/Go/src/runtime/panic.go:458
F:/GoLang/src/github.com/astaxie/beego/template.go:53
F:/GoLang/src/github.com/astaxie/beego/controller.go:245
F:/GoLang/src/github.com/astaxie/beego/controller.go:199
F:/GoLang/src/github.com/astaxie/beego/controller.go:183
F:/GoLang/src/github.com/astaxie/beego/router.go:785
C:/Go/src/net/http/server.go:2202
C:/Go/src/net/http/server.go:1579
C:/Go/src/runtime/asm_386.s:1612
beego 1.6.1 (beego framework)
golang version: go1.7
不行啊 怎么办

from go-music.

gizmo-ds avatar gizmo-ds commented on August 10, 2024

@Uptobillion 目测是执行文件路径不正确, 你确认执行文件不在"build"目录.

from go-music.

Related Issues (20)

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.