I need to develop an app compatible with iOS using Meteor. I'm going to put my project into a digitalocean droplet.
How can I run iOS-supported app from linux-based DigitalOcean droplet if iOS support requires Xcode?
You would first build the meteor app and deploy it to Digital Ocean. I would recommend MUP for the deployment process. It's super straight forward and easy. Sacha Greif has a great video on setting up the droplet.
https://github.com/arunoda/meteor-up
https://www.youtube.com/watch?v=WLGdXtZMmiI
Then you will build the meteor app for iOS
meteor add-platform ios
Follow this MDG wiki page for more info on building for iOS... https://github.com/meteor/meteor/wiki/Meteor-Cordova-Phonegap-integration
Basically, if you want to run in a simulator, you can use the following command:
meteor run ios --mobile-server http://<your deployed server address>
If you want to build for iOS distribution, you can use the following command:
meteor build <bundle path> --server http://<your deployed server address>
With Meteor & Cordova your app is built in 3 pieces: Server, Client and Cordova.
The server is what you would put on DigitalOcean typically. The apps outputted by the meteor build would be the XCode project - not the ipa binary, the Android APK (if you build for android too) and the node server app.
You wouldn't be able to build the binary on DigitalOcean for iOS without Xcode but you can run the nodejs server app which would be your app's backend. Instead of the binary the raw Xcode project files are created in the output directory of meteor build. So you would need Xcode to build the binary on OS X which you could then upload to the app store.
So you could run the backend on the DigitalOcean droplet without the need of Xcode. It's just building the binary once off for the app store that would need an OS X machine.
The nodejs app would also serve up the client files if you loaded up the DigitalOcean droplet's URL in your browser.
Related
Ive scoured to web with no avail..
noob here as well... sorry im still learning
App Dependencies are all out of date... I honestly dont know how to go about updating them yet
System Meteor version is 2.9.1
App Meteor version is 1.4.4.1
when I run Yarn Start, Meteor Tools starts download and extracting. well, it never finishes extracting, even if i leave it for hours.
Works locally no problems but when running on the AWS server or Digital Ocean droplets, both get stuck on Meteor Tools Extracting
I attempted to remove meteor and reinstall meteor globally. Didn't touch anything inside the app as i dont want to break the app. Tried running
meteor update
only for it to freeze on meteor tools extracting. Also tried
meteor update --patch
only to have it freeze as well.
I have compiled my code using typescript and run it in my laptop using node server.
Now when i deploy it in windows IIS server in another machine, do i require node server that machine?
Node is just for development and not for hosting?
Can you clarify my doubts?
YES. you need node server in the other machine as well in the machine in which you are deploying the code
As far as I know, if you want to host node.js application, you should firstly install the node.exe and the a build of iisnode.
https://nodejs.org/en/#download
https://github.com/tjanczuk/iisnode
After installed the IIS nodes, you could set up samples, from the administrative command prompt call %programfiles%\iisnode\setupsamples.bat.
Then you could go to http://localhost/node to see the example.
More details, you could refer to below article:
https://www.hanselman.com/blog/InstallingAndRunningNodejsApplicationsWithinIISOnWindowsAreYouMad.aspx
I am new to NodeJS. I have created a web application (it runs at https://localhost:4321) in a Windows server machine using npm, gulp etc. How do I host it in the server. That is I want to open the app in the browser without having to use nodejs through command prompt and using "gulp serve" etc.
If you want to host your node.js app locally on Iis server on Windows machine you should definitely take a look into this project.
I am totally new to webrtc and nodejs. I was building a webrtc video calling app using webrtc tutorial http://www.tutorialspoint.com/webrtc/webrtc_environment.htm but this is build using Linux mint os and I have windows OS. So I have downloaded nodejs zip and set its path in environment variables . I am able to run js file also but I am not able to start node.js server using static command as told in step 6. How to use this static command in windows.
Deploying your web app to heroku is easy
What I want to know it is there any open source tools installed on your linux server so you can have the same deploying experience, since heroku buildpacks is all open source.
Dokku is single-host version of Heroku. It allows you to push Heroku-compatible applications to via git.