So my question is pretty straight forward. I am using Electron js and python to create a desktop application. The problem I have though is that the application would make use of a couple of python packages and selenium. Is there a way to compile those packages in such a way that the user of the desktop app wont need to install python and the packages on their system to use the desktop app?
You could use py2exe and py2app for Windows and Mac. Linux and MacOS should already have python installed though. These allow you to make executable python applications that do not require python to be installed on the users' computer.
I hope this helped :)
Related
I have developed a simple javascript plugin which is not deployed to any web stores. Is it possible to implement the same plugin to an desktop application installer to install the plugins to browser along with that desktop application installation process?
Anyone please help
I'd like to be able developing a Node.JS application using the latest features of JS and Node.JS (like Node.JS v8 or even v13), but I need to deploy the app on embedded Linux server with Node.JS v4 (Omega2, OpenWRT, MIPS arch).
Is it possible somehow to build the app and make it runnable on such an old version of Node.JS?
Thank you for your answers, suggestions, and solutions!
You can use nvm to have both versions of node in the system and can run both applications in a different node version.
What type of server/service type supports Node.JS applications?
Is we need to install node/npm on server.
Does it need to be a dedicated server?
Thank you in advance.
I don't think you need anything special, even a random Raspberry PI with linux can host NodeJS app.
Since node.js have executable on Linux, Windows and Mac, the hardware will not be limited by what can run node.js, but by what your script need, and the workload you expect.
If you run a basic website with little trafic, a RPi will be enought, if you were to port Facebook or Google to node.js, you would still need complete dataserver.
So the only limit is third party utilities and your own knowledge of the platform you use.
Node.js Application can be hosted on Linux,Windows or any other O.S. And for node.js Application there is basic minimum setup is required. like Node.js , git bash, npm etc.
you can follow this link
Please note that I'm looking to create a webapp, not an executable or native application.
I have created a node.js application using express, react, and webpack. I'd like to be able to package and deploy the website and have it run on other computers (no internet connection) but still in a browser. Just by opening an index.html file in Chrome or something similar without having node installed or running any local servers. Just open the index in Chrome and away it goes. Is this possible? How can I go about doing so?
The requirements are interesting, but it might be difficult to run node.js if they don't have it installed. Definitely sounds like something you want to package, maybe in a self-containing binary.
Take a look at Electron. It powers Atom and supports node.js. Also comes with a bundled Chromium browser.
I hate IDEs, is there any way to use Make to build Metro apps from source code?
MSBuild can natively build Visual Studio projects (*.csproj) or code files directly:
msbuild Project.csproj /t:Rebuild
It's installed with Visual Studio and/or the .NET Framework, and can be found (depending on your framework version) at:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
I also just double checked on our Windows 2008 web server (which does not have Visual Studio installed, but does have .NET 4 installed) and it also has MSBuild.exe, so you shouldn't even need VS.
I believe you'll need to run the Publish target to actually create the appx package once the project is built:
msbuild myproject.sln /target:Publish /p:configuration=release /p:platform=win32
MSBuild is extremely powerful and can be extended with .NET code, and comes with tasks designed to do various things. There's tons of tutorials online, but this one might be great to get started.
App packager (MakeAppx.exe) creates an app package from files on disk or extracts the files from an app package to disk. It is included in Microsoft Visual Studio Express 2012 for Windows 8 and the Windows Software Development Kit (SDK) for Windows 8.
see this article on MSDN, but I have to warn you... last time I tried to get it signed without an IDE gave me lots of headaches.