Questions tagged [cloud-foundry]

Cloud Foundry stands as a dynamic Platform-as-a-Service (PaaS), offering unparalleled flexibility with its wide range of cloud options, developer frameworks, and application services. This pioneering venture is driven by an open-source initiative, readily accessible via numerous private cloud distributions and public cloud instances, catering to the needs of teams worldwide, all under the umbrella of CloudFoundry.org.

Accessing Cloud Foundry from an app: Comparing API and CLI options on IBM Cloud

In my quest to create a Node.js program that executes cf commands like cf a, cf cs, etc., I came across two repositories during my online search. Unfortunately, these repositories do not appear to be official and are no longer being maintained: https://gi ...

Error encountered during compression of build artifacts with exit status 2

An issue occurred when attempting to deploy the application to Cloud Foundry following the installation of packages. Application type: Next.js ...

Missing configuration in the file: Loggregator end point for Bluemix CF App

I'm having an issue with tailing the logs of my deployed app in Bluemix. Even though I successfully deploy it using bx app push [app-name], I encounter this error message: Warning: unable to tail logs The configuration file is missing the Loggregator endp ...

Guide on setting up staticfile_buildpack header configuration for an Angular application

After creating a build with ng build --prod, the dist/AppName folder was generated. Inside this folder, I found my manifest.yml and Staticfile. When I tried to do a cf push within the dist/AppName directory, everything worked as expected. However, I want ...

Combining Two Runtimes in Cloudfoundry

Can different runtime environments be combined in Cloud Foundry? I have a NodeJS app deployed on IBM Bluemix, but now I also need to run a standalone jar file and it's causing issues. APP/0/bin/sh: 1: java: not found I understand that the app was deploye ...

Sometimes, Express may return the message "not found" on and off

After working with express for many years, I find myself a bit out of practice with TypeScript - and it seems like my eyesight is failing me! This is the first time I've encountered this issue, so I must be missing something... My current dilemma is as fo ...

What is the best way to deliver static files through Express on Cloud Foundry?

How can I successfully serve static files using Express on Cloud Foundry? I attempted to implement the following code: app.use(express.static(__dirname+'/www')); However, I encountered a strange exception when trying to access a specific URL: ...

Adjusting runtime environment variables for a React application

I have a React Application that needs to be deployed to Cloud Foundry and I am looking for a way to segregate the development, staging, and production environments. The challenge is that React only provides .env.development for running the application usin ...

"Error encountered: Errno::ENOENT - The specified file or directory does not exist in the virtual

Attempting to deploy this example to Cloud Foundry has run into some issues. https://github.com/andris9/Nodemailer/blob/master/examples/example_smtp.js This is the process I followed: npm install nodemailer Changed the name of example_smtp.js to app.js ...

TCP connections without an HTTP protocol on the Cloudfoundry platform

As a beginner mobile developer, I am exploring the use of Cloudfoundry's services to host my server for handling chats and character movements. To achieve this, I am utilizing Noobhub, which establishes a TCP connection between the server (Node.js) and cli ...

Implementing Two-Way Authentication for Cloud Foundry Applications using NodeJS and Express

I have successfully deployed my NodeJs+express application on IBM Cloud as a Cloud Foundry application. Now, I am looking to implement mutual authentication (client and server certificates) to manage incoming traffic and requests to my application. The cer ...