Is there the way to have couchDB hosted on Heroku?
I have tried two buildpacks, but one is no longer available and the other is not working.
If there's no other way Is it possible to write my own buildpack, if so where should I start?
Related
I have question about Shopify app development and the deployment process.
I've used the getting started guide here, and I have an app that works fine when I use npm run dev and view the app in the store admin.
However, of course, once I stop the server from running, the app is no longer accessible.
I believe I need to deploy the app to Heroku (or something similar) in order to have it work in a non-development environment.
It doesn't seem like there is much guidance online from Shopify about the best way to go about this.
Does anyone know what steps I need to take in order to deploy my app to Heroku, so that I can use the app in by test store on another device?
It seems like every guide online stops JUST BEFORE explaining this process and I can't figure out why! I have tried everything online but nothing has worked:
Adding the code to Github and connecting it to Heroku
Using Docker
Any help is appreciated. Thank you!
You have zero obligations to use Heroku. If you have an IP address dedicated to your house, you could host the App using your house. If you co-locate your own server at an Internet business, and they give you IP addresses you can use that. If you wanted to use Amazon directly, you could use EC2. If you wanted to use Linode, or Azure, or any other cloud service, feel free! It is up to you!
Using Heroku (built on AWS) is traditional only in the sense that it is the original easy peasy hosting in the cloud service. Play with Heroku by reading Heroku-specific documentation or hosting information. This has nothing to do with Shopify. Shopify only mentions Heroku because traditionally, developers used it. No other reason.
If you want to learn how to use Heroku, 100% there are blog posts within easy reach for you to study and learn from.
I'm trying to deploy a webapp to Heroku. The current stack is build out of:
NextJS for the frontend (deployed on Vercel)
Strapi CMS (deployed on Heroku)
I would love to add a webshop to the webapp and would love to use the example from Vercel/commerce (https://github.com/vercel/commerce). I have selected Vendure as my favorite headless commerce provider.
I have a problem figuring out how to deploy Vendure on Heroku-platform. Is it possible to combine both Strapi and Vendure on only one Heroku app? Can both programs work together? I would think it's possible because both can work with PostgresDB.
I've read this documentation (https://www.vendure.io/docs/developer-guide/deployment/) but this doesn't speak about Heroku and the combination with Strapi.
I know my way with NextJS / Javascript / HTML, but my knowledge of the backend and deployment is not as good.
Thanks in advance for helping me out.
Greetings,
Bruno
You could take a look for inspiration/pointers at the vendure/vendure-demo repo, it is deployed using dokku, which is a nice FOSS heroku-like deployment app for your VPS or Server.
If you want, you could use it's Dockerfile for running it in heroku likewise or whatever dokcker compatible provider you might choose, just remove the -demo- parts you don't need about it.
I also have successfully deployed vendure and commerce with CapRover. Can recommend it a lot!
Which is like dokku but with a nicer webapp GUI/Installation. If you go the dokku route you have ledokku for a GUI too. Not so polished though.
So...i'm pretty new in hosting websites and horst yet with hosting in cloud services. I'm having a pretty bad time trying to host a Laravel 5.7 application in AWS and i really need some help/direction.
My situation is like this:
I have a normal Laravel 5.7 app that uses MySQL database and Laravel Queue(database type).
I need a process to constantly listen/monitor the job queue and execute them.
The thing is, i just lerned that you can't use normal hosting to do this(listen the job queue) and that i need a VPS service.
In my searches i saw that AWS have a 1 year free trial and i thought it was worth to take a look. The thing is, i started from EC2 and got as far as installing apache, mysql, php, git, etc. I made a clone of my project to the /etc/www/html and install composer dependencies... but i'm not quite understaing what to do for the app run, and in looking for tutorials everything is always differet and nothing ever works. I dont know what else to do, this is my first contact with cloud services.
That said, my question is what can i do to host my Laravel 5.7 app in amazon, and is it really the better solution for my problem ?
I am currently doing what you're trying to do. The configuration is outlined here. You will need to install supervisord. You didn't leave enough information about what type of instance you're running, so I can't get you more complete instructions, but if you follow these steps, your queue should run as expected.
Is it possible to configure multiple web-server to an app-server in heroku? Playing with heroku, I don't see that is possible. Heroku deployment as I understand doesn't support web and app server separation. Just wanted to double check my understanding.
Appreciate your thoughts on this!
Heroku as things stand today, does not have a web-server option. You got to keep this in mind for some of your app configurations like cacheing, response compressing etc.
In the case of rails or node platforms, you got to set app-level configurations or have middlewares to take care of these kind of things.
Heroku is fantastic for prototyping ideas and running simple web services, I often use it to run Python web services like Flask and Django and try out ideas. However I've always struggled to understand how you can use the infrastricture to run those amazingly powerful support or utility services every startup needs in its stack. 4 exmaples of services I can't live without and would recommend to any startup.
Jenkins
Statsd
Graphite
Graylog
How would you run these on Heroku? Would it be best just getting dedicated boxes (Rackspace, e.t.c) with these support services installed.
Has anyone one run utility deamons (services) on Heroku?
There are two basic options. The first is to find or create a Heroku addon to accomplish the task. For example, there are many hosted logging solutions you can use instead of Graylog; Rails on Fire or Travis can be used instead of Jenkins. If an appropriate addon doesn't exist, you can effectively make your own by just running the service on an AWS EC2 instance.
The other alternative is to push the service into being a 12factor application so that it can run on Heroku as well. For example, you could stub out whisper's filesystem calls so that they store in a backing service instead. This is often pretty painful and brittle, though, unless you can get your changes accepted by the upstream maintainers.
you could also use another free service in conjunction with it. OpenShift has a lot of Java related build services and tools that can be added.
I am using a mix of heroku, openshift, mongolab and my own web hosting. Throw in dropbox and box for some space...