• Huginn部署到 Heroku


    折腾了几个小时,现在记录下安装步骤

    1.本机Win10,放弃本地安装,官网建议也是,

    2.安装虚拟机,装ubuntu系统

    3.更换国内源(包括apt和gem,bunlde)ruby中国

    4.注册heroku账号

    5.注册Cloud9账号(由于需要信用卡验证,所以我放弃这条)

    5.在ubuntu上运行 heroku login,然后按照提示输入自己注册heroku时的邮箱地址和密码;

    6.创建名为ys_yinqin的app:heroku create ys_yinqin(大家创建时需要换个名字)

    7.heroku git:clone --app ys_yinqin

    8.将官网上的Huginn主程序复制到当前目录(ys_yinqin),解压缩

    9.输入cp .env.example .env,然后bundle

    10.git add .git commit -am "install huginn"git push heroku master

    11. 上面的命令完成后,在bash内输入:bin/setup_heroku,运行过程中会有几处提示,请按照提示输入,这一步运行时间也比较长,请耐心等待;(报错就先安装: installing : ruby-railties & ruby-rspec-core & ruby-spring with sudo apt install)

  • 相关阅读:
    body test
    menu
    Toolbutton test itk_component
    grid pack
    double inherit
    set font
    Activity test itk_component
    Activity test no class
    按键驱动调试总结
    system.img解包打包的方法
  • 原文地址:https://www.cnblogs.com/ys-wuhan/p/6635277.html
Copyright © 2020-2023  润新知