How to deploy rails applicaiton in windows 10/11 - ruby-on-rails

I have built a rails application for a friend which he doesn't have enough access to Internet, he has a PC with windows 10 installed, he wants to access his application offline, How do I deploy the application to his windows, I did searched a lot and didn't found a propper solution to it, what I want is to deploy the application and whenever he restarts the pc it automatically starts and he should be able to access it without running rails server
I tried IIS with Microsoft Web platfrom installer, which seems to be retired, and I tried to use it's offline version, and wasn't able to donwload the services, I am so fraustrated. anyone has an Idea of any web server for windows, or any other solution to this..., thanks and much appreciated it.

Related

Which file have to upload to remote Server to launch Datasnap Server(question to Experts in Delphi)?

Trying to build my first Datasnap application using delphi 10.4.2.
have Mariadb hosted by www.one.com.
i have watched all related youtube Lessons but all of them building the side sever on
localhost which is Windows.
how can i execute this file on the Real Server(which is not windows os) not localhost.
i'am freezed at this point.
2 :what is the best way to build Api's for Biggner in web developing using Delphi?
Thanks a lot

can a guest run code and make a independent server using live share in VS2019?

I am new using Live share in Visual Studio 2019 and I am working on a large project using ASP.NET MVC. I invited some collaborators to work on my project but the problem is that... they can only run the web app whenever I run my server locally(I configure the same port). I cannot leave the server running forever because they need to modify the C# code and server needs to restart and It is annoying that they asks me to restart the server every second. I want to know if there is a way that they can run my shared code using live share in their computers independently of mine?
Or... is Live share useless for remote working?
I cannot find solutions in google, there are zero information about it. I tried:
How to run live share server locally
Run live share server independently of host server
can guest run program or web app independently of host server live share
live share run program or web app locally
live share run web app without host server port

How do you host a Ruby on Rails application on a home server?

As the title suggests, how can I host a Ruby on Rails application on a home server. I want to be able to develop on linux and then deploy on a server running linux. I know there's PaaS out there that help with deployment and host but for a specific job I need to be able to do it on a computer that will act as a server.
Your phrasing 'run a RoR project on a local computer for production' is a little strange.
If you just want to do development on your PC and have somewhere that will host your production app for free and you can push to from your PC (i.e. the way most development works) you want Heroku.
If you literally want to use your computer as the server for a production app you can use something like Ngrok, which creates a tunnel from the web to your localhost. However you would definitely not want to run most applications like this because if you ever shut down or even closed your computer the site would stop working. Additionally I would guess there's security concerns with using your computer as a server for a publicly accessible URL for any extended period, though I don't know that for sure.

Deploying Ruby On Rails app on macOS Server

So lately, I offer myself a Mac Mini which I want to use as a server (Websites, caching, Xcode Server (which is not working), VPN (which is not working), and stuff). Currently it is running macOS Sierra (10.12.4) with Server.app (5.3) installed. I've successfully enabled Websites & DNS service so my server is accessible from the outside. I have a trusted and valid SSL certificate.
The problem is...
...I don't know how to setup the server to be a production server for Ruby On Rails.
Want I want
To host a web app using Ruby On Rails on macOS server (www.example.com)
To know how to setup the server app to serve a web app
To host a Git repository for the web app code
I looked at the settings for Websites service in the Server app but I didn't find any options for other than PHP and Python.
What I know
My MacBook is already setup with Ruby 2.4 and Rails 5.0. I know how to install Rails for development purpose
Even if it's not straight-forward, post any help you have.
One of my guesses is that I could forward the port opened for the website without specifying a folder where the files are in the Server app.
I'd be pleased of you inlight in some way to achieve my goal.
I am pretty sure that you don't want to actually run production off of your mac mini. That said once you have your rails app running you can run rails s to run your server locally. If you want a production site you should look into either heroku or AWS elastic beanstalk for deployment.

How to publish a JSP Webpage created with Netbeans?

I want to allow others to access my website created through Netbeans but I don't know how to do so. Ive searched and I found that you had to buy webservers and domain names?
However, I only want to host the webpage using my own computer since it isn't really anything commercial. How can I publish the webpage using Netbeans or my own computer? Would using IIS of Windows be possible?
Thanks!
You can download or use (if you have installed) Apache-Tomcat to deploy your web-app on your local machine.
Text from the above mentioned link.
It is possible to deploy web applications to a running Tomcat server.
If the Host autoDeploy attribute is "true", the Host will attempt to
deploy and update web applications dynamically, as needed, for example
if a new .WAR is dropped into the appBase. For this to work, the Host
needs to have background processing enabled which is the default
configuration.

Resources