Search code examples
javascriptparse-platformparse-cloud-code

setup cloud code for Parse.com


I have gone through the instruction found on Parse.com to setup Cloud code. I downloaded exe file as instructed in 1. It seems like there is a step missing before step 2.

When i run "parse new" in the command prompt i get "not recognized as an internal or external command". What am i missing? How do i install/use cloud code?

Get the Parse tool

  1. The Parse command line tool for Windows is available here. Download the Windows executable named: parse.exe at this link. Note that this is not an installer, it is just a plain Windows executable.

    Set up a Cloud Code directory.

  2. From the Command Prompt, run the command parse new and follow instructions. In this quickstart we'll see how to set up your server code on Heroku. Please read docs for more details.


Solution

  • I just downloaded the parse CLI on my Windows desktop to figure it out and I believe I've found your solution.

    You need to open up a standard command line on windows and then navigate to where you have stored parse.exe. Once the command line is at the same directory as the exe, you will be able to run parse new and any of the other CLI commands.

    For example, you could do the following:

    • Hit the Windows key (or start menu) and search "cmd" then hit enter to open the command line
    • Navigate to where parse.exe is located. If it's on your desktop, it could be something along the lines of cd C:\Users\<name>\Desktop
    • parse help, parse new and so on should now work from this directory

    The documentation feels a bit vague and could use some clarification for the Windows platform. Hope this helps!