Lightweight webserver for running in development without installing system wide [closed] - webserver

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm looking for some way I can set up my project so that you can run a single command and it would run npm run serve and rails server and then route / to the npm server and everything on /api to rails. In production I use nginx for this but I do not want to have developers to have to configure nginx system wide to get the development version working. Is there any portable web server that I can bundle with the repo so no manual configuration is required?

Use Heroku as it lets you deploy, run and manage applications written in Ruby, or Node.js...
It also provides 5 free hosting with sub domain of heroku.. all you need is to create a app on it and a heroku remote on git and thats it.. it would build, run and deploy your app on the heroku server.
I too have added my application (gif search engine) on heroku and its working fine.
You can also add your own commands in Procfile to serve your applications.
For more info visit: heroku

Related

Is there a need to run containers on local/dev machine? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 days ago.
Improve this question
I want to explore options for development pocess (web api + worker services) having on mind deployment to Azure Container Apps.
In particular, I am wondering, is there any reason for running containers on developers machine or should apps be ran and unit tested locally without containers and then use containers only from ci/cd pipeline?
In that case, integration tests should also be performed in ci/cd pipeline only.
Whats also important is that different devs in a team can have different machines (windows, macos, linux) and we want to have unified dev process for all.
What is a typical development flow?
This is mostly opinion based and how well debugging works for your specific stack. For example, I work with blazor web assembly and most of the time I debug in containers, because my application is hosted in podman, however if I am investigating an client side issue containers are not convenient because debugging does not working properly.
With containers you are is close as shipping your dev machine to the cloud as possible.

how to deploy a exe file or desktop application online [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
the exe file was generated from matlab. I am trying a way to access the application online or run in my mobile phone(android).
Ok
The MCR can not be installed on android systems, which means you can not use the Matlab Compiler to create android applications.
You surely can deploy web applications, which is well documented. Most notable is this warning from the documentation:
Warning
The development version of MATLAB® Web App Server™ must be installed in a trusted intranet environment on dedicated hardware. The only purpose of the physical or virtual machine where the server is installed must be to host web apps that connect to the server. The server must never be exposed to the open Internet. For more information, see MATLAB Web App Server Security. source

Manage VPS server and install cpanel alternative [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Hello all i just bought my first VPS server from hostinger and i dont know how to use it as earlier i used to use only shared hostings so i used to get my cpanel for the site where all the services are listed but this is not the case in VPS and Dedicated so i just wanted your advice and if possible a detailed step wise instructions on how to manage and install free cpanel alternatives on my VPS server
Things that i have IP address SSH and other things that is in VPS
what i need is just to install some softwares free on my server to create accounts and host websites. i need ftp, php myadmin, emails, cron jobs etc....
My srver details are CENTOS 6.7 x86_64 virtuozzo
There are many free available Control panel for Linux Like ISPConfig or spacewalk.
You can download them from their website and installation instruction are also provided on their website.
I suggest to go with Kloxo hosting control panel. It is free open source control panel. It has many features like manage billing, hosting, backup etc.. You can find complete features list and information from here..
It is also compatible with your Operating System. You can find installation guide for this hosting control panel from here..
Administrator Guide
User Guide
Hope, this will help and cover all your needs.
You can try open source control panels like CentOS Web Panel, ZPanel, WebMin, ISPConfig, etc. I personally use CentOS web Panel as open source alternative of cPanel. Here's the guide you can follow to install Centos Web Panel.
http://centos-webpanel.com/installation-instructions
You probably need to install some free server configuration panel.
You can try a good known WebMin or relatively new and advanced ServerSuit.
Then you can install all the software you need to including the LAMP stack, mail servers, FTP servers and manage all those things from your browser of course.
ServerSuit also supports mobile devices which I prefer personally.

How to host a web server for the offline documentation temporarily? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
Many programming languages and SDK (like Android Studio, Java, ...) provide their documentation for offline in the form of web pages. But when serving those files from the disk, Chrome is not able to fetch file types other than web page like JSON, ... and #import query does not works...
I don't want to use server like XAMPP for this. Because I am already using that for development purposes. Help me with a way to host a temporary light-weight server with web_root as the documentation folder.
Use the node package "http-server".
You must have node.js (v4.4.0 or greater) installed and from the command line/terminal the http-server package can be installed by using this command:
npm install -g http-server
Navigate to the local directory containing the files you want to serve and call http-server from the command line/terminal.
Your pages will be hosted by default on
http://localhost:8080
Do not close the command line/terminal as this will stop the serving.

what hosts support Catalyst Framework Apps [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would like to use the Perl Catalyst Framework on a Shared Hosting Service, but I don't know if there are any that do support it. Are there minimum requirements in order to be able to run a catalyst app?
Any help is appreciated.
Perl 5.8.4: http://search.cpan.org/dist/Catalyst-Runtime/META.yml
Catalyst::Runtime and its dependencies: http://deps.cpantesters.org/?module=Catalyst::Runtime
a Web server: http://wiki.catalystframework.org/wiki/deployment
Or trade money for time and convenience and pick a managed hosting provider: http://wiki.catalystframework.org/wiki/hosting
We had a demo of deploying a perl app (it wasn't Catalyst based, but that's neither here nor there) to DotCloud at our local Perl Mongers' meeting a couple of weeks ago. Deploying a Catalyst app was discussed, and there's certainly no technical impediment. My situation is similar to yours, but my app is not quite ready for deployment.
UPDATE
I have now successfully deployed my Catalyst app on dotcloud, and have been quite pleased with the results. It's been running there now for a couple of weeks, and I have found the dotcloud environment quite easy to work with, as far as pushing new code, restarting the service and so on is concerned. There is official documentation, and a Catalyst-specific walk-through.
More recently, Phillip Smith has recently written an updated, Catalyst-specific guide.
Dreamhost have a good hosting where you can install Catalyst and whatever you want. Basically you need an account, a 'shell' user type and a registered domain. With this items you can access the server through ssh tunnel and install the Catalyst packages.
Cheers!
Dotcloud is awesome.
I've just bought a Webfusion VPS (I'm working there so I figured some inside knowledge might be available).
Running up perlbrew, cpanm and my Cat app (which had a good Makefile.PL) was trivial. Getting nginx to play nicely has been harder.