How do I list the commands available to a Heroku CLI plugin? - heroku-cli

I'm working through the Heroku guide Connecting to a Heroku Postgres Database with Enhanced Certificates. heroku data:enhanced-certificates:enable DATABASE_URL -a example-app fails with the error
Warning: data:enhanced-certificates:enable is not a heroku command
I have checked that the data plugin is installed in the Heroku CLI. How do I list the commands available to this plugin? I have tried
heroku plugins:inspect
heroku plugins:inspect:data
heroku plugins:inspect data
heroku plugins:data:help
heroku plugins:data --help
heroku data:help
heroku data --help
but none of them work.

Related

installing and setting up firebase cli on ubuntu 16.04

with node and npm installed, I commenced by running
sudo npm install -g firebase-tools
on my terminal. On trying out
firebase login
firebase: command not found
thats the response I get. I tried
alias firebase="`npm config get prefix`/bin/firebase"
which only works for a single response only. I can't initialize firebase nor serve on the machine.
Its using ubuntu 16.04
try running sudo firebase login from what i understand is that if you install at admin level it can only be accessed at admin level too...

unable to deploy post deploy hooks on dokku

I have deployed an application using Dokku. This application runs a python script.
As a dependency for this python script, I want to install a python module once the application is deployed. To achieve that, I have installed a post-deployment hooks plugin.
I have installed this dokku plugin to do this
My post-deploy plugin (script) contains only this command:
pip3 install lark-parser
However it's throwing access denied error on deployment.
Any idea what i am missing here?
Output of the git push dokku master:
-----> Running post-deploy
-----> Attempting to run scripts.dokku.postdeploy from app.json (if defined)
-----> Running post-deploy hooks
-----> /app/post-deploy
remote: setuidgid: fatal: unable to run /app/post-deploy: access denied

Can't complete mup setup on Dreamhost aka Meteor Up

I'm stuck at the mup setup. Trying to set it up on my Dreamhost server.
Here is what I started with after running mup setup:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Started TaskList: Setup (linux)
[mydomain.com] - Installing Node.js
[mydomain.com] ✘ Installing Node.js: FAILED
-----------------------------------STDERR------------
tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
Then I installed node manually on my server, and set the mup file to "setupNode": false. Tried again and got that:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Started TaskList: Setup (linux)
[mydomain.com] - Installing PhantomJS
[mydomain.com] ✘ Installing PhantomJS: FAILED
-----------------------------------STDERR-----------------
tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
Finally, I also deactivated the PhantomJS install, tried again to run mup setup and got that:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Started TaskList: Setup (linux)
[mydomain.com] - Setting up Environment
[mydomain.com] ✔ Setting up Environment: SUCCESS
[mudomain.com] - Copying MongoDB configuration
[mydomain.com] ✘ Copying MongoDB configuration: FAILED
-----------------------------------STDERR-----------------
Warning: Permanently added 'mydomain.com,69.163.152.69' (RSA) to the list of known hosts.
scp: /etc/mongodb.conf: Permission denied
Killed by signal 1.
-----------------------------------STDOUT-----------------
----------------------------------------------------------
Completed TaskList: Setup (linux)
I am not sure what to do or try next. Thanks in advance for your help and suggestions.
Its seems like its a Permission problem.
Try with sudo mup setup or whatever name process are you running, initialize with the sudo keyword
From dream Host forums (admin or tutor post).
node.js — which is used by Meteor — causes some weird issues on our shared hosting servers that can trigger this behavior. We're aware of
the issue, but, for various reasons, it's been difficult to fix.
That being said, Meteor won't work on a shared hosting account anyway,
as it runs as a persistent server process, which isn't permitted.
You'd need a DreamHost VPS or dedicated server to run Meteor.
So if you don't have a dreamHost VPS or dedicated server, and you only want to deploy the app give a try to Modulus.io, it works pretty fine with meteor, or use the meteor deploy servers, doc here
This happens because Sudo isn't installed on the target machine.
On my Debian target machine I did apt-get install sudo to resolve this.
For a RedHat flavor (Centos etc) target machine you might do yum install sudo etc.
However mup is supported for Ubuntu only so it's very likely to run into issues with other flavors. You might want to stick with Ubuntu target machines to avoid headaches like these.

How to deploy a meteor application to my website

I've downloaded telescope from github and I'm trying to install it on my website.
unfortunately I don't know how? I tried it on my mac with no problems
git clone git#github.com:TelescopeJS/Telescope.git
And
curl https://install.meteor.com/ | sh
To deploy use meteor deploy to deploy to the meteor servers.
Look at mup by arunoda for deploying to your own server.
There's also demetorizer.

How to install postgresql on heroku?

I want to install wordpress on heroku and follow this tutorial(https://github.com/mhoofman/wordpress-heroku) I downloaded the toolbelt of heroku and got the git repo on my disk I also created a heroku account but when I want to add postgresql to it i get:
$ heroku addons:add heroku-postgresql:dev
! autoupdate in progress
! No app specified.
! Run this command from an app folder or specify which app to use with --app
<app name>
Why I do everything as stated in the tutorial;?
I appreciate your answer
Ok got it!!! I thought to complicated!!! I had to create an app first;P

Resources