在dokku上建造流星

时间:2016-01-20 21:50:18

标签: heroku meteor build digital-ocean dokku

digitalocean上有一个dropplet(vps),dropplet是使用dokku模板构建的。经过一系列的指导,我能够把一切都搞定。至少我是这么认为的。在git push之后的构建期间出现问题。日志在这里:

$ git push dokku master
Counting objects: 64, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (57/57), done.
Writing objects: 100% (64/64), 14.68 KiB | 0 bytes/s, done.
Total 64 (delta 4), reused 0 (delta 0)
remote: -----> Cleaning up...
remote: -----> Building ** from herokuish...
remote: -----> Adding BUILD_ENV to build environment...
remote:        -----> Fetching custom buildpack
remote:            -----> Node.js app detected
remote: -----> Installing node
remote: -----> Installing meteor
remote: Downloading Meteor distribution
remote:
remote: #
...
remote: ########################################################################
100.0%
remote:
remote: Meteor 1.2.1 has been installed in your home directory (~/.meteor).
remote:
remote: Now you need to do one of the following:
remote:
remote:   (1) Add "$HOME/.meteor" to your path, or
remote:   (2) Run this command as root:
remote:         cp "/tmp/buildpacks/custom/meteor-o6l8/.meteor/packages/meteor-tool/1.1.10/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
remote:
remote: Then to get started, take a look at 'meteor --help' or see the docs at
remote: docs.meteor.com.
remote: -----> Bundling bundle
remote: -----> Building Meteor with ROOT_URL: http://****
remote: Killed
To dokku@****:**
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@****:**'

我是这个主题的新手。我在哪里可以看到出了什么问题?

1 个答案:

答案 0 :(得分:5)

您可能没有太多资源在服务器上构建流星。请确保您有至少1GB的可用内存。如果您使用较小的数字海洋水滴,您还可以enable swap