Comments (38)
@jzp820927@Kisy@wz7465 @yinqiwen @redfrog999 distance00
这里人太少,只好冒昧打扰各位了,见谅,请各位大大帮个忙。
from gsnova.
你是说 releases 里面那个不能部署?你可以直接 git 源码部署。
from gsnova.
releases 里面那个我git push老出错,
提示
$ git push -f heroku master
error: src refspec master does not match any.
error: failed to push some refs to 'heroku'
我想要的是经过godep save的pass,直接git push就可以了
对编程不熟悉,很多东西一头雾水。
from gsnova.
@jzp820927你是不是git push上去的?是的话把你那个PASS邮一份给我,谢谢
[email protected]
from gsnova.
我好久没弄了,是很早以前部署的,都是很老的版本了。
你把你的操作过程说说,我看看是哪儿出问题了。
from gsnova.
gsnova-paas-deploy-with-dependencies-v0.26.3.tar解压,同时安装好heroku工具,打开解压目录,在目录中运行CMD。
git init
git add .
git commit -m "my first commit"
git push -f heroku master
不成功
我估计这压缩文件不是git部署,但又搞不懂他是要怎样部署的。
from gsnova.
装了 heroku 的工具,就要用它的部署,具体可以看看 heroku app 里的部署步骤,这个很好找
很久之前部署的,现在都忘了
找了找,就在部署页面,它需要你先用 heroku login 来登录帐号
具体步骤:比如你的 app 是 aabbbb
$ heroku login
$ heroku git:clone -a aabbbb
$ cd aabbbb
把压缩包解开,把文件复制到 aabbbb 文件夹,然后
$ git add .
$ git commit -am "make it better"
$ git push heroku master
from gsnova.
Kisesy大好,我上面就是用工具部署的,前面建立应用之类的省略没说,其实也是做了,HEROKU的部署也看不少了,但最后都提示下面错误:
error: src refspec master does not match any.
error: failed to push some refs to 'heroku'
所以真搞不懂了。。。。
from gsnova.
最后 push 的时候, 改成 git push -f 看行不行,命令我都忘光了....
from gsnova.
$ heroku login
Enter your Heroku credentials.
Email: XXXXXXXXXXX
Password (typing will be hidden):
Logged in as [email protected]
$ heroku create herokuwss
Creating herokuwss... done
https://herokuwss.herokuapp.com/ | https://git.heroku.com/herokuwss.git
$ heroku git:clone -a herokuwss
Cloning into 'herokuwss'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
$ cd herokuwss
from gsnova.
$ git add .
warning: LF will be replaced by CRLF in .godir.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in Godeps/Godeps.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in Godeps/Readme.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in Procfile.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in http.go.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in main.go.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in manifest.yml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in server.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in vendor/github.com/codahale/chacha20/.gitignore.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in vendor/github.com/codahale/chacha20/.travis.yml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in vendor/github.com/codahale/chacha20/LICENSE.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in vendor/github.com/codahale/chacha20/README.md.
The file will have its original line endings in your working directory.
from gsnova.
$ git commit -am "make it better"
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident name (for <(null)>) not allowed
from gsnova.
$ git push -f heroku master
error: src refspec master does not match any.
error: failed to push some refs to 'https://git.heroku.com/herokuwss.git'
from gsnova.
基本就这样了,最后无论上面命令怎么变,最后都 是这样:
$ git push -f heroku master
error: src refspec master does not match any.
error: failed to push some refs to 'https://git.heroku.com/herokuwss.git'
from gsnova.
你可以搜索一下 src refspec master does not match any
from gsnova.
按heroku上的说明,直接用他的命令好了,用
$ cd my-project/
$ git init
$ heroku git:remote -a herokuwss
代替
$ heroku git:clone -a herokuwss
但下面的 src refspec master does not match any好像还要看看,网上是有这情况,但试了一个也不行,还要多看看。
from gsnova.
嗯,我刚才试了一下,新建了一个全新 app,很顺利没有什么问题....
也许你遇上特殊情况了,如果再遇到你这个问题,可以打开 .git 目录下的 config 文件,看看里面有没有
[remote "heroku"]
from gsnova.
刚刚上班,一直在忙,你先自己摸索一下,实在不行,我忙完了,帮你看看,估计要到下班去了。
from gsnova.
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "heroku"]
url = https://git.heroku.com/herokuwss.git
fetch = +refs/heads/:refs/remotes/heroku/
[branch "master"]
remote = heroku
merge = refs/heads/master
from gsnova.
@jzp820927 谢谢,没事,你先忙,再说K大在指导我。
from gsnova.
网上看了下 src refspec master does not match any,好像很奇怪的说法,而且各人解决方法不一呀。
网上说的解决方法命令都不完全相同,好像各有各的解决方案一样,但目前对我没成功,
我重新再来一次再看看
from gsnova.
这个是我的部署全日志 log.txt,你对比一下看看
怎么说呢,你这个问题其实很好解决,但是各自环境不同,我也不太好说
不行你可以发一下, git status 的状态
from gsnova.
我刚删除了要重新来,等下我把 git status 的状态发上来。
from gsnova.
$ git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached ..." to unstage)
new file: .godir
new file: Godeps/Godeps.json
new file: Godeps/Readme
new file: Procfile
new file: README
new file: http.go
new file: main.go
new file: manifest.yml
new file: server.json
new file: vendor/github.com/codahale/chacha20/.gitignore
new file: vendor/github.com/codahale/chacha20/.travis.yml
new file: vendor/github.com/codahale/chacha20/LICENSE
new file: vendor/github.com/codahale/chacha20/README.md
new file: vendor/github.com/codahale/chacha20/chacha20.go
new file: vendor/github.com/codahale/chacha20/core_ref.go
new file: vendor/github.com/getlantern/netx/LICENSE
new file: vendor/github.com/getlantern/netx/copy.go
new file: vendor/github.com/getlantern/netx/netx.go
new file: vendor/github.com/gorilla/websocket/.gitignore
new file: vendor/github.com/gorilla/websocket/.travis.yml
new file: vendor/github.com/gorilla/websocket/AUTHORS
new file: vendor/github.com/gorilla/websocket/LICENSE
new file: vendor/github.com/gorilla/websocket/README.md
new file: vendor/github.com/gorilla/websocket/client.go
new file: vendor/github.com/gorilla/websocket/compression.go
new file: vendor/github.com/gorilla/websocket/conn.go
new file: vendor/github.com/gorilla/websocket/conn_read.go
new file: vendor/github.com/gorilla/websocket/conn_read_legacy.go
new file: vendor/github.com/gorilla/websocket/doc.go
new file: vendor/github.com/gorilla/websocket/json.go
new file: vendor/github.com/gorilla/websocket/mask.go
new file: vendor/github.com/gorilla/websocket/server.go
new file: vendor/github.com/gorilla/websocket/util.go
new file: vendor/github.com/yinqiwen/gotoolkit/ots/ots.go
new file: vendor/github.com/yinqiwen/gsnova/LICENSE
new file: vendor/github.com/yinqiwen/gsnova/common/event/auth.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/channel.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/event.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/event_ext.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/event_ext_appengine.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/factory.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/hb.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/http.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/notify.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/queue.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/tcp.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/types.go
new file: vendor/github.com/yinqiwen/gsnova/common/event/udp.go
new file: vendor/github.com/yinqiwen/gsnova/common/helper/bytes.go
new file: vendor/github.com/yinqiwen/gsnova/common/helper/io.go
new file: vendor/github.com/yinqiwen/gsnova/common/helper/net.go
new file: vendor/github.com/yinqiwen/gsnova/common/helper/rand.go
new file: vendor/github.com/yinqiwen/gsnova/common/helper/str.go
new file: vendor/github.com/yinqiwen/gsnova/common/logger/log.go
new file: vendor/github.com/yinqiwen/gsnova/remote/config.go
new file: vendor/github.com/yinqiwen/gsnova/remote/mq.go
new file: vendor/github.com/yinqiwen/gsnova/remote/proxy.go
new file: vendor/github.com/yinqiwen/gsnova/remote/version.go
new file: vendor/golang.org/x/crypto/LICENSE
new file: vendor/golang.org/x/crypto/PATENTS
new file: vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go
new file: vendor/golang.org/x/crypto/salsa20/salsa/salsa2020_amd64.s
new file: vendor/golang.org/x/crypto/salsa20/salsa/salsa208.go
new file: vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go
new file: vendor/golang.org/x/crypto/salsa20/salsa/salsa20_ref.go
new file: vendor/golang.org/x/crypto/salsa20/salsa20.go
new file: websocket.go
from gsnova.
这环境的问题最是头痛,不行的话虚拟机上了,K大觉得可行不?环境肯定相当纯净.
from gsnova.
我是在 Cloud9 上弄的,不是还有两种部署方式嘛
from gsnova.
我刚才试了几次,网上对那错误的修正方式也不统一,说不清哪个对,试几次我这也没成功
我在虚拟机上试下看。
from gsnova.
哪两种部署方式?
from gsnova.
github 和 dropbox,github 方式可以参考 https://github.com/Kisesy/Gogo, dropbox 就更简单了,只要把文件上传到 dropbox 上再部署就行,也是最简单的方式
from gsnova.
额,看来我选了比较复杂的方式,看他是原装工具,以为更简单呢。
from gsnova.
不过github 方式不是整个gsnvoa部署了么?gsnvoa没有单独放出服务端,同GOGO还是有区别吧?能这样部署么?
from gsnova.
服务端在 paas 文件夹下面。不确定在子文件夹下面能用 github 方式部署。你试试就知道了。不过 dp 肯定没问题。
from gsnova.
部署好了吗,git 方式还是不行? 我猜是 commit 失败导致文件夹为空,才出现这种情况,发一下 git config --list 的信息看看
from gsnova.
总算好了,虚拟机上一次过,是环境的问题
在此谢谢两位大大热心帮忙。
from gsnova.
@Kisesy 看到你的帖子晚了,主机装太多东西,所以很混乱,刚才已经把原来工具文件都删除了,没办法发 git config --list 了,见谅。
from gsnova.
这无所谓,你弄好就行
from gsnova.
根据#issuecomment-270854927看,是你的git没有配置好,
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
需要配置好邮箱地址和用户名
from gsnova.
问题都已经解决,不用回复了
from gsnova.
Related Issues (20)
- 0.33.1版Android apk点“连接VPN”即自动退出app。
- where is the Makefile HOT 1
- mac os : display "Killed: 9" HOT 1
- how generate Cipher key、P2P Token?
- 如何自动选择icmp(隧道)、udp(p2p、(隧道))、dns(隧道)、kcp、tcp协议?
- No enough arguments HOT 1
- gsnova卡顿
- fd leak
- Transparent Proxy guidance
- gsnova客户端启动在Mac OS12下失败,能否用新版go重新build一个macos的包?
- log文件 HOT 1
- 正常使用过程中出现连接断开问题 HOT 6
- 下载油管视频会断流 HOT 1
- vultr和搬瓦工
- 命令行下多用户
- 发现一个奇怪的现象 HOT 2
- 请问那里能看到Android版的源码 HOT 1
- Transparent模式下大量CLOSE_WAIT HOT 2
- gsnova 0.34.0 访问某些网站被识别为机器人 HOT 1
- Rotating Proxy Pool
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsnova.