I'm able to run Heroku foreman no problem from my windows command line but I'm having trouble figuring out how to run it inside of IntelliJ. I attempted to enable the "Batch Support" plugin but it crashes when I start up IntelliJ. I also tried to run it through the "Command Line Tools" plugin but that couldn't find foreman.
How can I successfully run Heroku foreman inside of IntelliJ?
Figured it out...created an external tool at Settings -> External Tools (see below). Can then run by selecting Tools -> foreman
Related
I have an automation script that needs to be executed through Jenkins. For this I need to open Firefox browser. For this I made some R&D and installed certain plugins in Jenkins like, ChromeDriver, XVFB and XVNC plugins.
I've added the "Xvfb installation" details in Jenkins global tool configuration and configured my Project with enabling the "Start Xvfb before the build, and shut it down after." option in Build Environment.
After these setup I executed the build, but when executed, this error showed up
error: XDG_RUNTIME_DIR not set in the environment.
Error: cannot open display: :0
So for fixing the above, I made some R&D and came across this
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY gedit
When I enter the above code in Terminal, it just opens a new document in gedit.
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY gedit
Now I'm stuck where to set the above variables. In which file should I update this?
If I fix this issue will the Jenkins build will be successful?
The project I have is a maven project, which when executed through eclipse, works fine by opening the browser. But through Jenkins it is failing.
Any help is greatly appreciated. Please help. Thanks in advance.
While it builds fine (there are warnings, but no errors), I cannot install a Cordova app on Windows (Windows 10) and the other dev of the project tried to do it and ran into the exact same error messages. Now, I tried googling for info, but I couldn't find anything of use, so I'm posting here.
So here's the cmd output I get from running "cordova build windows": http://pastebin.com/Fmtw9d7Z
It looks like it builds successfully, although there are warnings.
Then I run "cordova run windows" and this is what I get: http://pastebin.com/CYA7RwZH
As it suggested, I tried running "Get-AppxLog" and this is the output that I got from that: http://pastebin.com/Axwea7Ft
I've tried rebuilding/rerunning multiple times and at one point I actually did find an older version of the app installed (in Start -> All Apps) and I uninstalled it manually (Right Click -> Uninstall), but it doesn't look like it helped or did anything.
I have two meanjs projects created on my mac pc using terminal command prompt. One is New1 and another is Old1. but when I run command 'grunt' on terminal then only newly created New1 is running.
I am new at meanjs development that's why I don't know how to run my old meanjs projects on mac pc.
Can anyone help me?
It depends in the generator/scaffolder that you used. But for yeoman based projects exists the convention of use:
grunt serve: For development preview of the app with livereload.
grunt test: For test running.
grunt: For production build of the app.
With Projects managed by Gulp task runner it is the same but replacing grunt command with gulp command.
Well I think I have figured out my problem.
I need to point the directory to the expected project directory then need to run the 'grunt' command on terminal then the expected project will be started.
I'm looking for a way to build and run my app in the simulator from the command line. I need it to behave the same way as when you press Run in xcode.
I can build it with xcodebuild and I tried using simulator with -SimulateApplication option. My app launched but my tests didn't start executing (as they do when run from xcode).
I tried the script I found here and few other AppleScripts I found on the web. They didn't work for me. Commands like build and clean were ignored and others would throw errors. Maybe it's because I use xcode 4. Please help.
There is a "run script only when installing" option in Xcode Run script Build Phase, I am not able to find documentation on this. What does it do?
With Run script only when installing checked, the script only runs when do Product Archive.
In the Xcode Build System Guide (Xcode 3.2.x), it says:
Run script only when installing. Runs the script only during install builds, that is, when using the install option of xcodebuild or when the build settings Deployment Location (DEPLOYMENT_LOCATION) and Deployment Postprocessing (DEPLOYMENT_POSTPROCESSING) are on.