- Google App Engine
- Google App Engine Download
- Google Search Engine Install
- Google Search Engine App Download
Aggregate is no longer actively developed. Please use ODK Central instead.
Warning
Google Apps Engine 1.8.6 for Mac is available as a free download on our software library. This free Mac application is a product of Google. Our built-in antivirus scanned this Mac download and rated it as 100% safe. The software is included in Developer Tools. How to setup a Google App Engine Python environment, on Mac OSX, using Homebrew Alfredo Development 2016//03/08 2 Minutes I want to create Google App Engine apps using Python SDK on my OSX machine: setting up the enviroment should be easy, but I neverthless spent some time putting together all the required pieces.
This document only applies ODK Aggregate v1.x. See why we are removing App Engine support for more information.
Note
There is no charge to set up an Aggregate server on App Engine, and lightly used instances will usually incur no charges.
Before you begin…
- Make sure Java 8.0.221 or higher is installed on your system. We recommend using OpenJDK 11 LTS from AdoptOpenJDK.
- You will need a Gmail account to use App Engine. This Gmail account will be the owner of the Google Cloud Platform project under which your App Engine will execute.
- You will need to provide a credit card or banking details to verify your identify to the Google Cloud Platform.
- Read the Google Cloud Platform terms of service.
- Download the ODK Aggregate installer. Select the latest release for your operating system.
- Go to Google Cloud Platform and click on Console in the top right corner.
- Sign in with the Gmail/Google account you wish to use.
- If you have never configured a Google Cloud Platform project, click on Create an Empty Project.
- If you have configured a Google Cloud Platform project before, you may see a listing of all your projects and a button labeled Create Project. Click that button.If instead you see the console for one of your existing projects, click on the project name at the top of the window. In the example image below, the older project is Project-edu.
- Adone uninstall app mac offline. Upon clicking the project name, a window appears with a + symbol. Click on it to create a new project.
- Name your project.On the project-creation popup dialog, type in a project name that makes sense to you. If you want to edit the project ID, which will be a part of your project URI, click the small Edit link. When you are done, click Create.TipYou may want to use a project id that combines your organization name and the name of your data collection group or project.
- After few seconds, you will see a notification in the top right corner of the window. Click on the notification icon and select the notification message Create Project: project-name. An empty project screen will open.
- Click on the menu icon (☰) to the left of Google Cloud Platform in the upper left side of the screen, and select App Engine from the dropdown menu.
- Open the Select a language menu and select Java.
- Select your preferred datacenter location and click Next.Google will then configure the server. This may take a moment.
- When this completes, you will be directed to begin a tutorial to install a sample application. Choose Cancel Tutorial and confirm that you want to not perform that tutorial.
- Launch the ODK Aggregate installer on your computer. (See download info here.)Before launching, change the installer's permissions to enable running it as a program:
- Right click on the file.
- Select Properties ‣ Permissions.
- Check Allow executing file as program.
Or, from a terminal, go to the directory where you downloaded the installer and change permissions:(Use actual name of the file, which will be different.)- Unzip the downloaded file before running the installer within it.
- When you attempt to run the installer, macOS will prevent it. Go to ‣ System Preferences ‣ Security & Privacy to enable running the installer.
On launch, you may need to approve running an unsigned installer.The installer will guide you through configuring ODK Aggregate for App Engine. Click on the Forward button each time you complete a step to move ahead. - Accept the license agreement.
- Select a parent directory under which an
ODKAggregate
directory will be created to contain the configured software. Click on the folder icon to choose a directory. - Select Google App Engine as the platform for the Aggregate server.
- Enter a name for your ODK Aggregate instance.Note
- The Aggregate instance name will be displayed to your users when they log into Aggregate using their username and password.
- The instance name does not need to be the same as the Project Name you set in Google App Engine. However, it might be helpful to use the same name.
TipIncluding the name of your organization in the instance name can help users confirm that they have contacted the correct website. - Enter a superuser name in the next window.Note
- The superuser will have full permissions on the system.
- The password for this user will be set to
aggregate
initially. - Only this user will be allowed to log onto the system when Aggregate is run for the first time.
- Upon first logging in, the superuser should change the password and complete the configuration of Aggregate by specifying additional users and what permissions they will have on the system.
- Enter the ID of the project you created on the Google Cloud platform.The installer will configure Aggregate and launch an upload tool.TipDepending on your Java version, security settings may prevent the upload tool from running.A possible workaround is to add
file://
to the Exception Site List. - Enter the Gmail account that you specified when setting up the App Engine project and click the Get Token button.Your default browser will open a Google dialog screen asking you to choose a Gmail account. Select the account you specified earlier when setting up App Engine, and then allow Google App Engine appcfg to view and manage your App Engine instances and datastores. Click Allow. This will take you to a screen with instructions to copy a code.At the same time, the install wizard should display a popup dialog box.TipIf the popup dialog does not appear, relaunch the upload tool:
- Close the upload tool.
- Open a terminal.
- cd to the directory you specified earlier.
- run
uploadAggregateToAppEngine.sh
- Close the upload tool.
- Open a Finder window.
- Navigate to the directory you specified earlier.
- Run uploadAggregateToAppEngine.app
- Close the upload tool.
- Open a file explorer window.
- Navigate to the directory you specified earlier.
- Double-click ODKAggregateAppEngineUpdater.jar
Re-enter the email address, and click Get Token again.The popup dialog should now appear. - Copy the code from the browser into the installer's popup dialog and click OK.TipThe text box on Google's site is not as wide as the code. Be sure to copy the entire code.
- If everything went well, you should see a status message letting you know the
ActionSucceeded
. Free metronome app for mac.Tip- If the output does not look like that, you may have waited too long between getting the code and pasting it into the tool. Click Delete Token and try again.
- If you see a failure message in the output window, it is likely that you have several different Gmail accounts and Google has gotten confused during the token-issuing process. In you suspect this is the case, click Delete Token and try again:
- When the browser window opens, before selecting an account, copy the URL.
- Open a Private Browsing or Incognito Window in your browser.
- Paste the URL into the private window.
- Proceed with the other steps as above.
- Burns and mac. Click Upload ODK Aggregate.Clicking on Upload ODK Aggregate will generate a long list of progress messages in the Output window. You will see a number of warnings and errors. Don't worry, this is expected.For reference, here is a list of few of those errors:
- Finally, you should see the message
status:ActionSucceeded!
. - Once the installer has run and uploaded the ODK Aggregate configuration to App Engine, return to the Google Cloud Platform console.
- Open your Aggregate server from your project's screen, by selecting ☰ ‣ App Engine and clicking on the project's URI.
- Log In with the superuser username that you specified in the installer (the initial password for this username will be
aggregate
), and access the site administration screens for your server. - Go to Site Admin -> Permissions to change your password. You can also add additional users.
For those innocent people who do not know Google App engine, it is a platform which lets you host your application on Google’s infrastructure. In short your code just touches the hardware which no one else, but Google’s engineers have seen. So it allows you to scale your application as you grow big.
Google app engine is pretty straight to use on almost every platform as its supports Linux, Mac OS, Windows. However some folks face issues getting it running on Linux or particularly on Ubuntu as this is the favorite distro of Linux users. Follow the steps below to install and run Google app engine on Linux.
Google App Engine
Before we get started make sure Python is installed on your Linux box, if not yet please download and install Python from http://python.org
Download and Install Google App Engine
You can download Google App Engine from http://code.google.com/appengine/downloads.html download Python or Java version, depending on the language you are comfortable coding with. In this example we are going to download the Zip package for Python and going to save it on Ubuntu’s desktop.
Now to extract the zipped file either use the context menu to extract files into a folder or you can use terminal to unzip the files using the command – unzip google_appengine_1.2.6.zip
After you finish unzipping, you will get a folder google_appengine which has all the necessary files to develop application. To complete the installation and to able to run Google App Engine, we must specify its path definition. You can specify the PATH definition in the terminal only using – export PATH=$PATH:/home/your_user_name/Desktop/google_appengine/
But path specified using export command is valid as long as you are inside the current terminal window. That means as soon as you close the window, the path specified becomes invalid. To specify the path in the system, you have to edit the /home/your_user_name/.profile and specify the path there.
Making Your First Application on Google App Engine
All set & done, now you have the shiny Google App Engine up & running its time to do the real job. Let us make an ‘Hello World’ application for Google App Engine, using you own Linux Box – excited ? To start using app engine, you have to register an application at http://appspot.com
![Google App Engine Mac Install Google App Engine Mac Install](/uploads/1/3/4/1/134149534/810100231.png)
That requires your usual Google Account’s credentials and the environment is ready to be used instantly. Create a folder in which you will keep all your apps file. I am creating a folder named t-wave and have the application registered with the same name. Now create a file called app.yaml inside the t-wave folder and its content would be :
application: t-wave
version: 1
runtime: python
api_version: 1
version: 1
runtime: python
api_version: 1
handlers:
– url: /.*
script: index.py
– url: /.*
script: index.py
Change the application to the one you registered at appspot.com as mentioned above.
Now our next step is to create a file that will print ‘Hello World’ when we will start the server and request the file from browser. So Create a file index.py and paste the following line.
print ‘Content-Type: text/plain’
print ”
print ‘Hello World!’
print ”
print ‘Hello World!’
Save the file index.py and now let’s test our application locally and then we will upload it to the Google’s servers. To start the server on localhost, open terminal window and type command:
dev_appserver.py /home/your_user_name/Desktop/t-wave
Google App Engine Download
This will start server and you can view your application at http://localhost:8080
If you see ‘Hello World’ then you are good to go and upload your application online. To upload application online which you have already registered as mentioned above, use the following command in the terminal window.
appcfg.py update /home/your_user_name/Desktop/t-wave
![Google app engine download Google app engine download](/uploads/1/3/4/1/134149534/199063429.png)
The wizard is going to ask you for your Google Account credentials. After authenticating you can see your application up & running on the URL you chose while registering your application with http://appspot.com
Google Search Engine Install
Hope you enjoyed this post.
Stay Digified !!
Sachin Khosla
Sachin Khosla