Can capistrano be used for non web applications - ruby

I want to deploy my non web application to server. Wheni was going thru this site 'http://theme.fm/2011/08/tutorial-deploying-wordpress-with-capistrano-2082/' the first line says capitrano is used to deploy web applications. I am confused should i proceed with capistrano or not..

Capistrano is a remote orchestration library, basically it is a nice API for running commands over ssh on a remote server.
As an example, it can be used to run provisioning/setup scripts on a remote server. See the Rubygems AWS repository for an example of this.

Related

Webflow for GCP login

Is there a Go implementation of GCP Webflow similar to what gcloud SDK does (https://github.com/twistedpair/google-cloud-sdk/blob/master/google-cloud-sdk/lib/googlecloudsdk/core/credentials/flow.py)?
this repo relies on printing a url in console and letting user to copy/paste Auth Code instead of automatically launching browser and running a local server like gcloud SDK does, but it's README is worth a read as it also shows you current limitations when using Oauth/openid connect flow to authenticate to Cloud Run.
If python is okay for you, there's an official python lib that supports launching browser and running a local server, like what gcloud sdk does.

How to deploy a github repo to heroku containing multiple projects?

I'm new to deploying stuff and I need some help deploying a school project to Heroku.
So I've got a github repo set up like this:
The folders e2e-tests, client, server and shared are all their own projects. The server is a nodeJS backend that communicates with a mongoDB and the client is a React app. They communicate via localhost.
Because the root folder does not have a package.json file I can't deploy to Heroku using their standard buildpack. Is it possible to deploy my app (client + server) to Heroku?
If so, how would I do that?
Heroku doesn’t natively support multiple apps in a single repository, you might find that this thirdparty buildpack, https://github.com/lstoll/heroku-buildpack-monorepo, gives you the functionality that you need?

Publishing and Hosting Oracle Apex app into WWW

This question may sound silly for some of you, but I would be grateful if you could advise if it is possible to publish apex app into www?
Let's say I am going to run my testing environment under apex.oracle.... url, however I would like my production environment to be running under for example www.MyWebSite.com
Many thanks in advance for any tips.
If you want to host your own production environment, you have two stages: setting up your server, and deploying your application.
For server setup, you've got two main options:
Sign up with a specialized APEX hosting company who will do all the server setup and administration for you.
Do it yourself. You'll need to register your domain name and sign up with a hosting company. Then you'll install and configure Oracle Database, as well as a web application server (like Weblogic or Tomcat). Then install and configure Oracle Rest Data Services (ORDS), which will act as the listener for APEX.
Now, once your server is ready, look at the documentation on Deploying Your Application. The basic steps are that you want to export your application from your test workspace, and import it into your production environment.

How to git push heroku master by using hubot on hipchat?

I installed hubot, heroku and hipchat. I deployed Hubot to Heroku and I tested on hipchat, I typed some command line example: #hubot help, #hubot image me "hubot".... and It worked fine.
But in my project, I need use hipchat to deploy my project to heroku. Example when I type on hipchat is: #hubot deploy app, then my project will be deployed to heroku (instead of tying: "git push heroku master" on Terminal). Please help me, I really thank you so much!
This is a very broad questions. There is no single answer.
For sure, you need a deployment service that performs the deployment. Hubot should ping the deployment service when you send the deploy command.
The deployment service should have access to your repository and Heroku account and perform the git push command for the deploy. The deployment service may have a local clone of your project, or download it from some centralized location (E.g. GitHub) and perform a push to Heroku.
The deployment service can be a server you control, a third party service such as this one, the server where Hubot is running (not ideal).
Heroku also offers Dropbox sync and is experimenting deploy from GitHub. In this case, the deploy doesn't require a deployment service (or to be more correct, the deployment service is in fact Heroku). Hubot would simply trigger a new synchronization at Heroku, as long as Heroku is connected to either GitHub or Dropbox (depending on where the app is stored).

TeamCity Deployment with Minimum Dependencies

We have TeamCity running on a server and our Production site (ASP.NET) running on another Web server. What would be the best way to deploy from TeamCity to the Production server, so that we don't have to install much on the Production server and deployments are fast & secure?
Would Web Deploy (http://www.iis.net/download/webdeploy) be the ideal solution?
Ideally you could have your build script FTP the output of your build to your production server if it's got an FTP daemon running. SSH would give you more security still. It's up to you as to how far you want to take it security wise. I don't use SSH with my blog, for example. If someone wants to jack with my blog, so be it.

Resources