public
Description: Host your Google AppEngine apps on your own server.
Homepage: http://appdrop.com
Clone URL: git://github.com/jchris/appdrop.git
Search Repo:
jchris (author)
Mon Apr 14 15:44:59 -0700 2008
commit  15bd4ca603c784a4f8d59dbf980148285c014b0c
tree    aa4e3893d0c8bce0e6b931d3589f3c3a4c415219
parent  88e393cbf0df88eddb6c706ad9bd841a174a94dc
name age message
folder LICENSE Mon Apr 14 13:05:18 -0700 2008 don't link to apps that aren't uploaded [jchris]
folder README Sun Apr 13 19:04:22 -0700 2008 upload managment and script [jchris]
folder Rakefile Fri Apr 11 00:50:32 -0700 2008 adding all the parts for appdrop [jchris]
folder app/ Mon Apr 14 15:01:35 -0700 2008 upload error messages [jchris]
folder config/ Mon Apr 14 01:31:34 -0700 2008 optional exception notifier config [jchris]
folder db/ Sun Apr 13 19:04:22 -0700 2008 upload managment and script [jchris]
folder doc/ Fri Apr 11 00:50:32 -0700 2008 adding all the parts for appdrop [jchris]
folder lib/ Sun Apr 13 22:32:45 -0700 2008 fixed a redirect bug [jchris]
folder log/ Mon Apr 14 00:09:23 -0700 2008 bragged a little on the front page, and you can... [jchris]
folder protocol.txt Sat Apr 12 17:41:36 -0700 2008 the login loops is finished [jchris]
folder public/ Mon Apr 14 15:44:59 -0700 2008 more trackback [jchris]
folder script/ Fri Apr 11 00:50:32 -0700 2008 adding all the parts for appdrop [jchris]
folder spec/ Mon Apr 14 01:27:43 -0700 2008 attachments are having trouble saving [jchris]
folder stories/ Fri Apr 11 00:50:32 -0700 2008 adding all the parts for appdrop [jchris]
folder uploads/ Sun Apr 13 19:04:22 -0700 2008 upload managment and script [jchris]
folder vendor/ Sun Apr 13 22:08:23 -0700 2008 added my brand new vendor back in [jchris]
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 &