Sometimes, we only need to change a little line, so vmc push is too slow.
Is there any NodeSJ module or service that can direct edit the code online?
Does Cloudfoundry has a dashboard?
By the way, how do you download app and log as a zip?
If you look at how vmc push works, you will know from point 11 that the application is packaged by vmc by looking at all the differences and then pushed to the server. So cloudfoundry itself does not have a code editor.
To edit your code online you can use another service like http://c9.io and follow these docs to see how to push to cloudfoundry
CloudFoundry does not have a dashboard. (as of this writing)
But there is another service based on micro cloudfoundry, called as appfog - and it has all the UI stuff + support for other platforms.
Downloading app logs can be done with the help of this answer
Related
I'm building a personal blog website with express.I hosted it on ec2 and also hosted another version at digital ocean .But when it comes to updating my code (like i am changing a few lines or adding or removing a new feature) i have to remove all the files and re-upload and again run it.When i was using www.heroku.com it was easy like git push heroku master.How can i do similar with ec2 or digital ocean server?.(I'm using pem file to login to server)
I recommend looking at Code Pipeline tutorials. You can use this AWS Service to build a CI/CD use case. See:
CodePipeline tutorials
As SMAC mentioned in the comments, you're looking for a CI/CD solution essentially. Heroku does a nice job of automating that for you, as do several other products out in the market. Depending on what Git provider you're using, GitHub and GitLab both provide a native solution (GitHub actions vs GitLab CI).
I'd recommend you combine that with something like AWS's ElasticBeanstalk to get a simple change/push workflow like you're looking for.
I'm developping a nodejs web application and I want to know how to deploy the app on enterprise level not on the cloud (Heroku and similar).
Please keep the explanation as simple as possible as I'm not an expert. I think that the answer to this problem should include something about having a local enterprise network but I don't know the details.
The end result should be that any user inside the enterprise could for example open the browser at some specific link and use the application.
You literally just need a computer connected to the enterprise network and your application running there.
I am big fan of JHipster. I found it extremely useful in getting started with web applications development, deployment to cloud.
I have been trying to make the JHipster Microservices application work but with no luck. I followed the steps in the video tutorial from JHipster site but ran into issues.. Here's what I have tried..
1) Downloaded JHipster Registry and could deploy to CloudFoundry..
2) Created a microservice application and stuck at below message while deploying to cloudFoundry..
FAILED
Error restarting application: Start app timeout
TIP: Application must be listening on the right port. Instead of hard coding the port, use the $PORT
environment variable.
Use 'cf logs programservice --recent' for more information
Any help on this topic is highly appreciated..
Thanks in advance
I have never deployed to cloudfoundry myself but are you sure your app is correctly configured to connect to the jhipster-registry's address. As far as I know this must be done manually.
An alternative could be to use an Eureka Registry provided by Cloudfoundry itself rather than the jhipster-registry. You should really refer to the Cloudfoundry docs and the Cloudfoundry page of the JHipster website.
I have a Node.js app I built and deployed to Heroku that I use internally on my team to perform automated tasks against a 3rd party tool's API. I don't mind that I have to keep a terminal window open to keep an eye on the logs, but what would be really sweet is to put up a real-time view (heroku logs --tail) that anyone on my team could go look at to see the apps status, etc.
I've looked around and haven't found anyone else doing it.
heroku has an addon for logentries that is pretty sweet. it will give you parseable, searchable logs including live streaming them.
logentries:
https://logentries.com/
logentries add on:
https://elements.heroku.com/addons/logentries
other logging addons:
https://elements.heroku.com/addons#logging
you can always implement your own solution using herokus logplex system, which has an api:
https://devcenter.heroku.com/articles/logplex
or you can go deeper and implement something like the elk stack or any other similar technology:
https://www.elastic.co/webinars/introduction-elk-stack
I"m trying to deploy a simple Node.JS app to Heroku from Cloud9, and I can't seem to be able to find the "Deploy" button to deploy it to Heroku. Is this feature present on Heroku?
http://imgur.com/mrEvDz1
In the current Cloud9 release we do not have a UI for deployment yet, but we're going to add those features soon. They have been flaky at times and we really want to offer things that work.
Until then, I'd recommend using the deployment tools straight from the command line in the Terminal - see our documentation site for details: https://docs.c9.io/deploying_via_cli.html .
Regarding Heroku, deploying via the terminal is not too difficult, although I would have preferred not to disappoint you. All steps are explained in the link below, you can start at step 3 because the Heroku tool belt should already be installed.
Refer: https://devcenter.heroku.com/articles/quickstart