zoukankan      html  css  js  c++  java
  • ruby部署之Heroku

    下载安装 :https://devcenter.heroku.com/articles/heroku-cli  (我是windows,所以我下载windows)

    cmd黑窗口输入:

    $ heroku version    如果有显示表示安装成功

    确认 Heroku 命令行工具已经安装之后,使用heroku 命令登录,然后添加 SSH 密钥:
    $ heroku login   输入账号和密码(去官网注册,验证的时候需要翻墙)
    $ heroku keys:add
    最后,执行heroku create 命令,

    会为你的应用分配一个二级域名,立即生效

    通过git remote -v 就能看到 heroku 为名字的链接

    然后把项目通过git add .. /git commit .../git push heroku master 就能把项目提交上去了

    然后继续在项目下 通过cmd命令: heroku open  查看效果

  • 相关阅读:
    Transformation
    Yet Another Number Sequence
    Table
    K个联通块
    Acyclic Organic Compounds
    Sandy and Nuts
    tetrahedron
    BZOJ4750 密码安全
    实现商品秒杀 时间倒计时
    实现qq登录
  • 原文地址:https://www.cnblogs.com/spicy/p/8495832.html
Copyright © 2011-2022 走看看