Skip navigation

Here’s a quick set up for Google App Engine’s SDK on Nginx.


server {
listen 80;
server_name yourhotdomain.com;
access_log logs/yourhotdomain.access.log;
location / {
proxy_pass http://localhost:8080;
}
}

If you want to change the datastore location do this:


sudo ./dev_appserver.py helloworld/
ctrl c
cp /tmp/dev_appserver.datastore /some_new_path/dev_appserver.datastore
sudo ./dev_appserver.py --datastore_path=/some_new_path/dev_appserver.datastore helloworld/

Your App Engine app should now be running on ‘yourhotdomain.com’.

If you want to run it on your local computer just change your /etc/hosts file to include ‘yourhotdomain.com’


127.0.0.1 yourhotdomain.com yourhotdomain.com

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: