I'm quite new to WebStorm. I would like to edit the files of a CouchaApp/CouchDB web application with webstorm and I'm trying to integrate them into the edit cycle.
Typically a CouchApp web application can be created with predefined folders and files that are generated by a simple command: couchapp generate mydatabase (see pic1). This command generates a main folder, mydatabase, and a couple of subfolders and js, json, and text files (see pic 2, the last folder under project couchdb). These are the files and folders I want to edit with WebStorm.
In order to integrate the edited files into the CouchDB database that exists elsewhere (on the local or a remote system), you issue another command: couchapp push mydatabase (see pic3). That's it. Then, in your browser, you can navigate to your web application, i.e. locally to http://127.0.0.1:5984/mydatabase/_design/mydatabase/index.html (see pic4).
Now, I would like to link the command couchapp push mydatabase (either directly or by using a batch file) to the Run command of WebStorm, but don't yet know how. Any suggestions? At the moment I'm using an external command line window which works, but is quite cumbersome.