I have developed an application using Spring locally. I want to deploy my existing application using Google App Engine. Does anyone know how to deploy existing application to GAE?
You can convert your project using Cloud Tools for Eclipse. Go to this page and drag and drop the 'install' icon inside your Eclipse installation. See the Google documentation on how to use the plugin.
Basically you right click on you project and convert it to a maven project, or choose File > Import... > Existing Maven Projects wizard. Once you have your maven project loaded into Eclipse, tight click again and Configure > Convert to App Engine Project. This guide explains the whole process.
Finally, having your project set up:
To deploy the project to App Engine Standard environment:
Right click the project in the Package Explorer the project to open
the context menu.
Select Deploy to App Engine Standard
A dialog pops up.
Select the account you want to deploy with, or add a new account.
The list of projects the account has access to loads. Select the one
you want to deploy to.
Click OK.
All the details are here.
UPDATE:
In this Github repo, there are instructions on how to convert an existing Spring Boot App to Google App Engine. In this answer, I apply those instructions to a sample application.
Related
I have an existing ASP.NET Webforms Application (see image below), and I've added a new WebAPI project. I have a few issues. The first is that according to various tutorials, it should just work, but alas...well, it does work when I right click on the project and Start New Instance in Debug mode. Right now, I have a single project set to start, but it doesn't activate the WebAPI project, and I would like it to. I know that I could set them both as startup projects, but then they end up in different browser windows, which is not what I want.
I would like to know how to get this second project to also start when starting the first, but in the overall solution sense. That way I can start my main site, but also hit the api/Donation url.
Right click on your Solution and select Project Dependencies.
Tick Donate for the shop.scramble.org project.
Run the Solution and you'll see in IIS Express both applications are running.
I ran the clean and install commands and I can see the war file gets generated. But I am unable to add it to the tomcat server in STS. In the add modules option of the server, the war is not showing up. Has anyone faced this issue before?
Check if your project is set to "facetted form" (right click project name, "Properties", "Project Facets") and enable "Dynamic Web Project". After that you can even add your project to the server by drag and drop.
For Spring-Boot projects better use the "Boot Dashboard" (click "Window", "show view", "other", "Spring Boot Dashboard".
I have created multiple applications from boilerplate templates and for some reason, it is no longer possible to download the Starter Code. I open the application panel, select Start Coding in the left pane, then select Eclipse Tools for Bluemix. Further down, as expected, there is a "Download Starter Code" button, but it links back to bluemix.net instead of to a code archive file. Has anyone seen this? I have deleted / re-created the apps many times, but it never produces an archive. I have seen several posts here on Starter Code, but none specifically with this issue.
In some cases this behaviour is related to the browser language setting. Try setting it to English (if you use another language) and check if the download button url now points to the correct zip.
Another possible workaround is to instantiate one of the boilerplates and then click on the Add Git button at the top right hand of the screen when viewing the overview of the running app. Using the Add Git button on a boilerplate (or runtime) instantiated app you can see the sample code in DevOps Service. You can download it from there or you could git clone the repository and get the code that way.
Alternatively please take a look at the IBM Bluemix repo on GitHub.
you can do same by three ways you can also clone git repository of starter code or you can download commandline interface and fallow instruction
for me while developing node application download eclipse archive worked fine
I am developing a Grails app in Groovy/Grails Tool Suite. I start my server by simply running the vFabric tc Server that comes built in. Unfortunately, when I make css changes, the entire server reloads. This doesn't happen with gsp changes. How can I fix this?
You probably don't need to deploy to tc server if you're developing your app. Try using 'run-app' (right click your project, select 'run as' or 'debug as' and then choose 'run-app').
Or you can just open a grails prompt and do 'run-app' from there.
I've followed this simple tutorial http://wiki.eclipse.org/Acceleo/Getting_Started to create an UI launcher...but when I finish and I make a right click on my uml model, I don't have the acceleo tag "Acceleo Model to Tex", so I'm unable to run the plugin...do you know how is it possible?
I use th eclipse version 3.6.1 with topcased...
I can see only two ways for this popup menu not to show. The least likely is that the extension of your model does not match the "model file name filter" field from the "new UI project" wizard ("*.uml" by default). I do not think that this is your case, but thought I would mention it anyways.
What I think is the problem in your case is : this tutorial does not really explain to people who are not familiar with Eclipse plugins how to use the UI project. Namely : this new "UI project" is an Eclipse plugin. In order for the menu it contributes to show, you have to deploy the project as a plugin in your Eclipse. This can be done by exporting the project as a deployable plugin (right-click => Export => Deployable plug-ins and fragments) or by spawning a new Eclipse instance from the Eclipse that contains the project (Run => Run Configurations... => double click 'Eclipse Application' then hit "Run").
This last solution is preferred for plugins undergoing development as it allows you to change the plugin and simply spawn a new instance again in order for the changes to show ... however if you do not aim at developping Eclipse plugins, this might not be the best solution as it forces you to have two workspaces : one for the development of the plugin, another for the testing. The UML model on which you will generate code has to be in this "testing" workspace.