The following is the explanation for Mac OS X. Hand environment Describes the procedure performed on Mac OS X 10.8.5.
Have a Google account ready. Your account ID and password are often required when using various tools in the google cloud SDK, so you need to decide (or create one if you don't have one) before starting the procedure. You need at least one Google account to be the administrator of your GAE project.
It's installed on MacOS X from the beginning. Check the version just in case. To check, start the terminal and execute the command `` `python```.
(Excerpt from https://developers.google.com/cloud/sdk/?hl=ja) Execute the following command from the terminal.
python
curl https://sdk.cloud.google.com | bash
Follow the prompts to continue (such as specifying the installation location). When you're done with curl, quit the terminal and reopen it (to reflect changes in environment variables). Then execute the following command.
python
gcloud auth login
Then execute the following command.
python
gcloud components update gae-python
This will install a set of tools for your local development server (such as GAELauncher).
Google Python Style Guide (Japanese translation is a little old, but here /pyguide.html)) recommends checking the source code with pychecker, so install it.
python
sudo python setup.py install
If you do so far, the local development server should be ready to start, so let's try it.
~/google-cloud-sdk/platform/GoogleAppEngineLauncher.app
The editor and IDE environment for development can be anything, but this time I will describe the procedure when using Aptana3. If it is an Eclipse line, the same procedure can be used. (Should)
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
```<br />
When selecting from the GUI, go down as follows. <br />
Machintosh HD/system/Library/Framework/...
* If you install google plugin for eclipse in Aptana3, Aptana will not start, so do not install it. The reason is unknown. You don't have to use it because it is not java development.
* * If you get the error "Installation cannot be completed because one or more required items cannot be found" in "Install New Software", go to "Available Software Sites" and select "Eclipse Indigo Update Site". It may be because the check is unchecked.
Check it and try again.
The end
# Reference link
http://qiita.com/yuko/items/aaac6ea9536cd529106f
http://qiita.com/yuko/items/1c4ee5b081c5b6a3ac8a
Recommended Posts