I have been working for the last months on a Ruby on Rails project. The problem is that where the project is going to run there is no internet and I need to run the project as if it were on localhost when the computer start or create an executable project that will be installed on the computer. The program will run in Windows and only in one computer.
I have all the project in Ruby & HTML and the database is in PostgreSQL.
Obviously if there was internet in the office it could upload it to a server and there would be no problem.
You can create a docker container with your app environment configured and run it at system boot.
More info:
https://www.driftingruby.com/episodes/intro-to-docker-on-windows
Setup same development environment you need using offline packages from http://railsinstaller.org/en
Install Ruby on Rails and configure your application / DB.
using Adobe air you can run web app in desktop mode. https://www.adobe.com/in/products/air.html
Related
I am building a Clinic Management Software which is to be deployed and used on-premise. Below are the components it has.
A NodeJS app (HTTP server) for APIs (will run on a Windows desktop)
A MySQL Database for storing & Retrieving data (will run on a Windows desktop)
A hybrid or PWA app for the user interface (can be accessed on desktop or tablets/mobiles)
I want to build a Windows installer that when executed on the Windows desktop does the following things
Installs NodeJS
Installs MySQL server
Starts MySQL as a Windows service
Starts the NodeJS HTTP server as a Windows service
I want to avoid performing the above steps manually. Please advise.
I recently created a web app on Azure, I am able to run it well, however I noticed that if I add the following line
const mysql = require('mysql');
the app will crash as it is not able to find the mysql module. When I test the app locally on my machine I have no such problem, it only occurs when the app is deployed to Azure. Notice that the Azure app works well with other dependencies, but it fails in installing mysql.
What am I doing wrong? Any hint is more than welcomed. Thanks in advance!
After reproducing from our end we noticed that mysql is not visible in the node modules. In general, npm install works locally. To make it work even after deployment ensure mysql module is being installed in ./node_modules of the application.
You can navigate to Kudu of your Web app and use npm install mysql. Even after doing that if you still cant find the module in the nodemodules, then just drag and drop the module from your local machine.
I have been running in some problem of deploying my app in my nokia lumia 520 its and windows 8 phone.
I have my application in visual studio express 2012 for windows phone.When i build the project and deploy the .xap file in my mobile using the app deployment tool the app gets installed but doesnt runs properly...it is unable to get the css files and the view files.
But when i deploy it using Visual Studio>>Build>>Deploy method the app gets installed and also runs as expected.The main thing is that it also uses the same .xap file which i used while deploying the app using the app deployment tool
Now i am not able to make out where am i going wrong.
Please help
I have created a windows Phone application, and how do I give this application to the client, Do I give him my project folder i.e Getcontacts? and also client wants to install this application to emulator because in the client machine only emulator is installed.
Is there any way to create the install file of the application that I give to the client and client will easily install into the emulator. Kindly suggest me on these queries..
Waiting for your reply.
Thanks.
If the client has the emulator installed, he can deploy a XAP to it using 'Application Deployment' (open the start menu and type Application Deployment). You can select the target (one of the emulators) and then choose the XAP file.
On your end, set the build configuration to Release and build the solution. Then navigate to the project folder/Bin/Release and that's where you will find the .xap that you need to send to your client.
Here's an MSDN article for the Application Deployment tool: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402565(v=vs.105).aspx#BKMK_tool
To test the app your client need to be a registered developer(He need to create developer account on Microsoft developer.
To Access Application Deployment tool your client needs to install Windows Phone SKD
then launch Application Deployment tool from installed SDK folder
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment\XapDeploy.exe
OR launch it from start menu by typing Application Deployment.
Now he just need to give the path of the xap file(debug or release version) and select the desired testing target.
P:S. you can also deploy the app on app store and set publish version to beta for testing the app at any device without having developer account and installing windows phone SDK.
I am trying to use the crystal reports application in ubuntu. So far i was able to connect the MYSQL database using c# in .net platform and run a small application in ubuntu over crossover linux.
But when i try to fetch the data from mysql database and display in crystal reports i get an error as shown in the below picture:
alt text http://img136.imageshack.us/img136/3282/screenshot2i.jpg
alt text http://img155.imageshack.us/img155/3504/screenshot1my.png
This thread is an extension of the below thread.
Can't connect to MySQL for .NET application deployed in Wine using Ubuntu
The WineHQ db claims that it will run. However, if you do intend to target the Linux and Windows platforms, I would suggest a more cross platform compatible library.
I got the answer by my own after doing a small research.
The error was due the licensing problem of visual studio .net 2005. The following packages had to be configured in Merge Reports (i.e C:\Program Files\Common Files\Merge Modules)
Crystal_Managed2003.msm
Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_regwiz2003.msm
And then we need to enter the license key while deploying the application correctly.
Later the following packages would be installed automatically when we run the deployed .net application in ubuntu linux
Refer screenshot below