Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Host your Google AppEngine apps on your own server.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 stories
Octocat-spinner-32 uploads
Octocat-spinner-32 vendor
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 protocol.txt
README
controllers

views

# /
#   link to login/signup
#   link to browse apps

# /login - this is the main page users see
#   ability to signup or login
#   params:
#     email (shown from cookie if logged-in to appdrop)
#     password
#     -- (for signup)
#     password confirmation
#     nickname

/home
  list of your apps
  link to make a new app
  
/home/fug-this
  control panel for your app
  maybe just mount the google dev console here?

# /apps
#   browse apps
# 
# /apps/fug-this
#   public info page for app
#   link to app
  

====
config zone

  # paths
  mkdir -p /var/apps/hello-world/data
  mkdir -p /var/apps/hello-world/log
  # also echo the assigned port into a file the dir just cause


  #nginx conf
  server {
    listen   80;
    server_name  hello-world.appdrop.com;
    access_log  /var/apps/hello-world/log/access.log;
    location / {
      proxy_pass http://localhost:3000;
    }
  }

  #dev server start

  /root/packages/google_appengine/dev_appserver.py -p 3000 --datastore_path=/var/apps/hello-world/data/app.datastore --history_path=/var/apps/hello-world/data/app.datastore.history /var/apps/hello-world/app >> /var/apps/hello-world/log/server.log 2>&1 &

  # reload the confs
  /etc/init.d/nginx reload


  ############################################## fug-this

  # paths
  mkdir -p /var/apps/fug-this/data
  mkdir -p /var/apps/fug-this/log
  # also echo the assigned port into a file the dir just cause


  #nginx conf
  server {
    listen   80;
    server_name  fug-this.appdrop.com;
    access_log  /var/apps/fug-this/log/access.log;
    location / {
      proxy_set_header  X-Real-IP  $remote_addr;
      proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header Host $http_host;
      proxy_redirect false;
      proxy_pass http://localhost:3001;
    }
  }

  #dev server start

  /root/packages/google_appengine/dev_appserver.py -p 3001 --datastore_path=/var/apps/fug-this/data/app.datastore --history_path=/var/apps/fug-this/data/app.datastore.history /var/apps/fug-this/app >> /var/apps/fug-this/log/server.log 2>&1 &
Something went wrong with that request. Please try again.