How can I get ionic-lab view at Heroku? - heroku

How I can get ionic-lab view on Heroku? My "app" is running at Heroku but I can't find a way to get de ionic-lab view.

If you run an Ionic project with the --lab then you'll get something like http://localhost:8100/ionic-lab.
So, with this in mind, say your app is running on heroku and a link is something like https://ionic-rocks-2016.herokuapp.com/ then just try adding ionic-lab to the link, like so: https://ionic-rocks-2016.herokuapp.com/ionic-lab.

Related

View laravel in heroku doesn't run correctly when first time deploy to heroku

im new to laravel. so i just try to deploy app to heroku but seem it dont work correctly
but when i run local at 127.0.0.1:8000 it work fine
i already put Procfile, add Config Vars to heroku but still not work.
i don't know to fix this, please help me. thanks.
full code here if you need
https://github.com/salmanagustian/wedding-digital-invitation

Cannot GET /visitor/display-HomePage page when route in heroku mern project

Whenever i run my mern project in heroku its work but when i route 2 -3 page their is this type of error occure.
Cannot GET /visitor/display-HomePage
You'll see the message Cannot GET / if you don't specify which page it is that you're trying to get.
Did you try seeing the URL path? You might have entered a different page name like instead of http://localhost:3000/visitor/display-HomePage, you might have entered something different.

Laravel MIX_ variables don't work in production

Laravel allows you to acess .env variables in javascript by prefixing the app with MIX_, my file looks like this:
APP_NAME="My app"
MIX_APP_NAME="${APP_NAME}"
This works in development, however when I build the app for production the app name shows up as undefined. Is there some way to get around this issue?

Heroku Website - Where is the REDIS HOST credential?

I am trying to set the REDIS_HOST in Settings -> Config Vars on the Heroku website.
I have added a "Heroku Redis::Redis" add-on. When I go in to it, I am expecting to see a screen like this;
But instead all I get is this;
There is nothing on this page relating to a HOST name of any description. There are barely any links and certainly not to a settings page.
Am I missing something obvious? I am a total Heroku newbie and Google is giving me nothing!
Or have Heroku just changed their UI for a laugh?
I have managed to solve this. I'm submitting this answer because I really do not think it's obvious for a beginner.
When a REDIS add-on has finished building, Heroku will automatically generate a REDIS_URL key/value pair for you (might take a few minutes). It will look something like this;
REDIS_URL = redis://h:p8jnn2hm2a01fm65ssfdkj2#ec2-41-117-183-81.eu-west-1.compute.amazonaws.com:11509
With this, you can manually create the following config variables using parts of the REDIS_URL value above. For example;
REDIS_PASSWORD = p8jnn2hm2a01fm65ssfdkj2
REDIS_HOST = ec2-41-117-183-81.eu-west-1.compute.amazonaws.com
REDIS_PORT = 11509
For me, that was all I needed to get my site working. I don't understand why they decided to do it this way.

Heroku No such app for Dropbox based app

I had a app hosted on 'inputbox.herokuapp.com'.
My app was giving error even after successful deployment. So, I deleted the app and recreated the same app.
But now I am getting error message as:
"Heroku | No such app
There is no app configured at that hostname.
Perhaps the app owner has renamed it, or you mistyped the URL."
I looked around for heroku docs but nothing works.
I dont know how to get this fixed. Please help.
Check what apps you currenty have using
heroku apps
It should say something like
=== My Apps
inputbox
If it doesn't, then you know what the problem is. Let's say it has one of those silly generated names, then you can rename it using the following command:
heroku apps:rename inputbox
Happy hacking!

Resources