[Google App Engine] Flow from development environment construction to application creation

Since the MacBook Pro used as the development environment for GAE broke, I rebuilt the development environment for Google App Engine (GAE) on MacBook Air. At that time, I had forgotten various steps, so I wrote it as a memorandum again. Since it is an environment where you can try various things in a trial, set the project name to playground and create an application under it.

  1. Download and install the Google AppEngine SDK for Python from here
  2. Pass the PATH for using Django included in the SDK
  3. GAE project creation
  4. GAE application creation

** 1. Download and install the Google AppEngine SDK for Python from here ** It was easy here as I just downloaded and installed the installer.

** 2. Pass the PATH for using Django included in the SDK ** Do the following in your home directory: Create .bashrc and .bash_provile with a text editor such as vim, and add the following lines respectively.

~/.bash_rc
export PYTHONPATH='/usr/local/google_appengine/lib/django-1.5/'
export PATH=$PATH:/usr/local/google_appengine/lib/django-1.5/
~/.bash_rc
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi
source ~/.bashrc
source ~/.bash_profile

To make django-admin.py executable for performing Django admin tasks, run the following on the command line:

chmod 744  /usr/local/google_appengine/lib/django-1.5/django/bin/django-admin.py

** 3. GAE project creation **

Change to your working directory. For example, suppose you work in the directory Development directly under your home directory.

cd ~/Development

After moving to ~ / Development, execute the following on the command line to create a project that will be the unit of Deploy.

/usr/local/google_appengine/lib/django-1.5/django/bin/django-admin.py startproject playground

** 4. GAE application creation **

I wanted to try the endopoint function, so I created an application called endpoint.

cd playgroud
python manage.py startapp endpoint

With the above, I went to the application creation once. From here on, another opportunity.

Recommended Posts

[Google App Engine] Flow from development environment construction to application creation
Google App Engine / Python development environment construction procedure (late 2014)
From 0 to Django development environment construction to basic operation
Django development using virtualenv Procedures from virtual environment construction to new project / new application creation and initial settings
Python development environment construction 2020 [From Python installation to poetry introduction]
Google App Engine development with Docker
Java 1 1 support from Google App Engine
From Ubuntu 20.04 introduction to environment construction
Building a development environment with Maven on Google App Engine [Java]
WEB application development using django-Development environment construction-
[Basic] Unify everything from tabulation to dashboard creation! Data visualization application development with Python and Dash ~ Overview of Dash, environment construction, sample execution ~
From Kivy environment construction to displaying Hello World
Until Django application creation by terminal (development environment)
Turn off optimization options in the Google App Engine Go development environment dev_appserver.py
From Kafka to KSQL --Easy environment construction with docker
Python development environment construction
Deploy a Django application on Google App Engine (Python3)
python2.7 development environment construction
Procedure to exe python file from Ubunts environment construction
How to use Django on Google App Engine / Python
Runtime version of Google App Engine / Python Standard Environment
Save in Japanese to StringProperty in Google App Engine data store
From environment construction to deployment for flask + Heroku with Docker
[MEMO] [Development environment construction] Python
Ubuntu18.04 Development environment creation memo
django project development environment construction
[MEMO] [Development environment construction] wine
Using properties files with Flexible Environment Java 8 on Google App Engine
[For beginners] Django -Development environment construction-
[Python3] Development environment construction << Windows edition >>
Python development environment construction on macOS
[MEMO] [Development environment construction] Jupyter Notebook
Use ndb.tasklet on Google App Engine
Emacs Python development environment construction memo
Ubuntu Desktop 20.04 development environment construction memo
Development environment construction (2020 version, WSL2 + VcXsrv)
Deep learning tutorial from environment construction
Procedure from AWS CDK (Python) development to AWS resource construction * For beginners of development