I followed the instructions for deploying a loopback app to Heroku, applying the buildpack as stated:
$ heroku apps:create --buildpack https://github.com/strongloop/strongloop-buildpacks.git
$ git push heroku master
The site runs on $ heroku open, but there is no StrongLoop add-on with the Strong Ops control panel. $ heroku addons:open strongloop message is ! Addon not installed: strongloop
Is there a problem with the buildpack, or do I need to do something else to get the Strong Ops panel configured?
You'll want to run
$heroku addons:add strongloop
Following that you should see Strongloop (StrongOps) add-on in your Resources tab on your Heroku dashboard. You can open it from there or you can open it from your terminal:
$heroku addons:open strongloop
Try running:
$ heroku addons:add strongloop
Related
When I try to deploy my app to heroku then I received:
App not compatible with buildpack: https://github.com/kr/heroku-buildpack-go.git
The steps that I follow are:
as mentioned in here, I created a project on heroku by using heroku create -b https://github.com/kr/heroku-buildpack-go.git command
then I run heroku config:set BUILDPACK_URL=https://github.com/kr/heroku-buildpack-go command to set buildpack again
then I tried to git push heroku master but I receive App not compatible with buildpack: https://github.com/kr/heroku-buildpack-go.git error
I also connected my GitHub account to heroku and tried deploy from master branch which was on GitHub. But I am still facing this error(App not compatible with buildpack: https://github.com/kr/heroku-buildpack-go.git)
How to solve it?
The reason here is because you should not use your git url as buildpack. https://github.com/mars/create-react-app-buildpack.git is the default. Try this:
heroku buildpacks:clear
heroku buildpacks:set mars/create-react-app
I manage to deploy a Scala Play 2.7 App that uses Postgres but it doesn't run with error:
(base) bravegag#Zeus:~/code/myapp$ heroku open
› Error: Missing required flag:
› -a, --app APP app to run command against
› See more help with --help
(base) bravegag#Zeus:~/code/myapp$ heroku logs --tail
› Error: Missing required flag:
› -a, --app APP app to run command against
› See more help with --help
How do I fix that?
that's a heroku cli flag, not scala/play. just specify the name of your heroku app when using the heroku cli:
$ heroku open --app <app-name>
(same for other commands)
you can find the name of your app in heroku dashboard (somewhere in https://heroku.com)
If you enter your app in heroku you will reach a link like https://dashboard.heroku.com/apps/<app-name>
you need to set git remote to your application first, or heroku won't detect your flags,
heroku git:remote -a your_app_name
first you need to initialize git (which is required for Heroku)
$ git init
$ git add .
$ git commit -m "first"
then you should
$ heroku git:remote -a your_app_name
and then finally you can:
$ heroku container:push web
I have installed heroku with homebrew in my OSX El Capitan(10.11.5) and installed the heroku-container-tools with:
heroku plugins:install heroku-container-tools
The installation goes successfully:
Installing plugin heroku-container-tools... done
When I run a heroku version, I got this:
heroku-toolbelt/3.42.22 (universal.x86_64-darwin15) ruby/2.0.0
heroku-cli/5.2.20-9d094b0 (darwin-amd64) go1.6.2
=== Installed Plugins
heroku-container-tools#3.0.0
But when I run a heroku container:init I got this:
! `container:init` is not a heroku command.
! See `heroku help` for a list of available commands.
Running heroku help container I got this:
Usage: heroku container
Use Docker to build and deploy Heroku apps
Use Docker to build and deploy Heroku apps
Additional commands, type "heroku help COMMAND" for more details:
container:login # Logs in to the Heroku Docker registry
container:push [PROCESS] # Builds, then pushes a Docker image to deploy your Heroku app
I am following this heroku tutorial: https://devcenter.heroku.com/articles/local-development-with-docker
In the tutorial is said to run heroku container:init
This command was replaced but some other and heroku did not updated their documentation or I have some problem installing the plugin?
Yes, they restricted access to their container registry, just read the warning on top of the tutorial you're following https://devcenter.heroku.com/articles/local-development-with-docker
heroku container:release, which creates a Heroku-compatible slug and
deploys it to Heroku, has been deprecated. For access to our container
registry (available in private beta), please contact
docker-feedback#heroku.com
now there are only login and push commands. I hope you can easily ask for the access.
Just went to add the Zerigo addon to a new app in the European region on Heroku, but it fails:
From command line:
$ heroku addons:add zerigo_dns:basic
Gets me:
Adding zerigo_dns:basic on unwalked... failed
! Application error
And trying to install from the addons panel gets me:
The Zerigo add-on is currently only available in the US Region.
Trying to push to heroku.
When I type: heroku create
getting this message.
! No account specified.
!
! Run this command with --account
!
! You can also add it as a git config attribute with:
! git config heroku.account work
Using Rails 3.1.1
Help would be appreciated.
Looks like you've installed the Heroku Accounts plugin which allows you switch between multiple heroku accounts - follow the instructions here https://github.com/ddollar/heroku-accounts to add an account for it to use
type in gem install heroku
Then upload rsa key of github to heroku
$ heroku keys:add
Uploading ssh public key /Users/adam/.ssh/id_rsa.pub
Once you key in configured with heroku and github with command all your code goes to github and from there to Heroku
git push heroku master
and soon you will see these messages
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Detected Rails is not set to serve static_assets