Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
testing v671 but on windows it still has path issues.
"C:/Program Files/go_appengine\goapp.bat" serve -host=localhost -port=8080 -admin_port=8000
Process finished with exit code 1
If it would be the .bat file the command line would also have problems right? But the command line does not have any issue? Can you try to just use goapp instead of "C:/Program Files/go_appengine\goapp.bat". So just rely on the environment path settings of both windows and linux?
The solution is to go to the 'C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine' folder and edit the 'goapp.bat' file.
At the bottom of the file you will see:
Now add some quotes to this last line and your problem should be fixed.
Copy over your newly created goapp.bat file from 'C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine' to 'C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin'
"%GOROOT%....\platform\google_appengine\goapp" %1 %2 %3 %4 %5 %6 %7 %8 %9
Now you can run: goapp serve myapp/ from anywhere
Ugly, but works....
@enira : thanks!!
one comment though,
cmd /c ""%~dp0..\platform/google_appengine\goapp.bat" %*""