I've new to app development and I thought of trying Phonegap. I've already downloaded Node.js and git.client. I have 4 questions:
1) So, I'm installing the PhoneGap and as soon as I type the first line of code from : into Terminal on my Mac, I keep getting asked a password. What password are they asking for and how do I type it in? Or do I just move on without a password?
2)Once I'm done with that, I move on to docs.phonegap.com and head to the Command Line Interface guide. I'm running the code on terminal and can't seem to run the platforms for android, blackberry10 and amazon fireos as said in:
Does this mean I need to install other things in order to get the different platforms running?
3) Moving on and working on the ios platform, I'm suppose to test the app on a emulator or a device, just like this:
All I did was change the "android" to "ios" in the code, but when I do that, it seems I need to download something from GitHub or Nodejs. What do I install?
4) When I'm at GitHub, a lot of the downloads are clones. Does this mean it is illegal?
As you can see, so stuck! Would really appreciate your help :)
You will need to sign up for their developer program and then enter that password
1.) It asking your PC login password, because you are installing a new SW.
2.) Yes, you must install many other SW for diferrent platforms. Cordova is only FW, not IDE...
Android need istall Eclipse, into it ADT plugin and android developer tools, and so on with the other platforms. Things you are need to know are in in docs for every platform.
How you can ask question No. 3 before you don't have answer on the first and the second question?
Related
I'm developing a VSCode Extension where you can develop CircuitPython code. I want it to be able to upload your code to your pico, or whatever microcontroller you're using.
For this I need to detect all usb drives that are connected, I've tried libraries like node-usb, usb-detection, etc. But they always give some kind of error, for usb-detection for example you need to rebuild the library with this command:
./node_modules/.bin/electron-rebuild
But then I get greeted with this:
text here: https://pastebin.com/E7bjtWgP
I have absolutely no idea what anything of this means, I've installed vs build tools 2022, 2017 and even added it to my community installation.
After that I tried the usb library. Which again, greets me very kindly with:
I've also tried some other libraries but they all give a similar result. Some do this:
And I've also seen some very questionable things like this:
I've been googling, and debugging now for roughly 4 hours and atm I'm tired so I'll probably try again in a couple of hours.
EDIT:
I've made an entirely new project, moved over all the code and it now works. I have absolutely no idea what the problem was but at least its working now.
my problem involves Google Chromium. Where on Windows I would download it from the Chromium Project Website and on a debian Linux distro I'd simply type "apt install chromium".
On Windows systems I use, Chromium provides a 404 when I attempt to sign in. However a fresh install of Linux, Chromium signs in without any error. This has been chalked up to API keys according to other Stack posts and Google Forums posts. What is different about Linux coded Chromium, why doesn't Windows Chromium have default keys for signing in?
Thanks for any clarity you can provide and if possible a solution to make Windows Chromium sign in properly without having to create some weird developer account through Google for the keys.
I came here with the same question you have, and later discovered this Python script for injecting the API keys securely under macOS:
https://github.com/ezeeyahoo/ChromiumSyncEnabler
In the readme, the author says that as an alternative to generating your own keys:
You can also use keys used in chromium for linux platform:-
export GOOGLE_API_KEY="AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k"
export GOOGLE_DEFAULT_CLIENT_ID="811574891467.apps.googleusercontent.com"
export GOOGLE_DEFAULT_CLIENT_SECRET="kdloedMFGdGla2P1zacGjAQh"
So, according to this, the Linux version simply comes with these ready-to-use keys.
Though I have no insight as to why this isn't done for Windows and macOS, I hope it's useful information.
I am hosting a web application in ubuntu using nodejs. i am using Webstorm ide and when ever i add some update then i have to connect to the server using ssh and copy and past the new code. isn't there any IDE available which do this automatically. at least it should has a button with credential to the server so when ever new update is ready to publish press the button and update the code on the server.
There are many solutions to this. I would use Docker my self, as it is very useful during development as well, and it is portable. You can use node-ansible and many many more. Which is the best for node in particular I don’t know. But search for deploy systems and you will definitely find.
**Ok so I've been taking some courses on codecademy on coding and programming and wanted to start a project to test out some of what I've learned. I want to build a Instant Messenger Chat app for phones and after much research I've decided to use AppGyver to build my mobile app.
On the forum I asked what to use and someone informed me that Composer is pretty easy because of the drag option and other stuff but that started frustrating me, there are no good tutorials that show me what everything does on there, esp for what I wanted my app to look like (plus I don't have an Apple smartphone or anything like that so that scanner thing was unnecessary) so since I am familiar with HTML from codecademy I decided to try my luck with that, there are more tuts on that (video of course) and I'm having issues. I went through the steps on the website and everytime I got to the step that asks for me to post this in Node.js
-- npm install steroids -g --
I get a message that keeps saying the same thing--that Python is installed just fine but the error is command 'git' not found. What did I do wrong?
Also I can't seem to locate a repository for Git GUI, I'm not sure what I'm supposed to do there either. Could I get some help as to what my problem is? Thank You in advance.**
I assume you've used the install wizard on the site? It has comprehensive instructions for installing git, which is required for the npm install to work. If you are using Windows, remember to check the "use Git from Windows Command Prompt" checkbox when running the Git installer, after which restart your terminal window and continue with the guide. For further assistance, you should turn to the AppGyver forums.
I need your help. Because I've no idea what I'm doing.
There is this nice plugin vim-instant-markdown I recently stumbled onto. Basically, it's a live preview in a browser, running in the background, while you're writing your text in markdown plugin, and I like the concept.
So, I've tried to get it to work on Windows,
installed Ruby (rubyinstaller-1.9.3-p125)
installed Ruby-DevKit (DevKit-tdm-32-4.5.2-20111229-1559-sfx)
followed instructions on https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
gem install redcarpet pygments.rb
installed node (node-v0.6.10)
npm -g install instant-markdown-d
So far so good,
I open a markdown file in Vim, and it opens (pause button works here) a command line window with my text inside. Browser not seen anywhere.
In the plugin there is an /dev/null "thing" (I'm not an unix guy, more than I needed to be, which wasn't very much - just an ordinary user for most part). /dev doesn't exist on Windows.
To put long story short, my question is - can this be made to work on Windows, the way it should work, or is it a waste of effort even to try it to get it to work?
I'm welcoming all constructive ideas and suggestions.
glad you found this useful enough to want a Windows port! I think it definitely can be done, you just might need more dependencies and hackage.
First of all, understand that there's a server component that is used apart from the actual .vim file to make this work, which is started and stopped on demand. You will definitely need to look at its code, which can be found here.
The server uses open on OSX and xdg-open on Linux to open a browser window, neither of which exist on Windows. On Windows, you can use start (more here). Try to find a way to make the browser window open in the background, and not steal focus, otherwise it will be very annoying.
Also, curl is used to send commands to the server, and curl doesn't exist for Windows. Indeed, I don't think anything similar exists. There is a curl Windows port, though IMO it kinda sucks to add such a thing as a requirement for the plugin...
It seems that you've taken this on at least partially as a learning experience, so I hope you can make it work and send back a pull request! (Of course feel free to keep asking questions if you're stuck) But in the (hopefully unlikely) event that you lose interest or give up, create an issue in github requesting Windows compatibility, and I'll see if I have time to implement it. Also, keep in mind that some questions/comments will be better suited to the project's issues area than here.
Good luck!