jchris / appdrop
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
863630c
appdrop /
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Mon Apr 14 13:05:18 -0700 2008 | |
| |
README | Sun Apr 13 19:04:22 -0700 2008 | |
| |
Rakefile | Fri Apr 11 00:50:32 -0700 2008 | |
| |
app/ | ||
| |
config/ | Mon Apr 14 01:31:34 -0700 2008 | |
| |
db/ | Mon Apr 14 16:56:50 -0700 2008 | |
| |
doc/ | Fri Apr 11 00:50:32 -0700 2008 | |
| |
lib/ | Sun Apr 13 22:32:45 -0700 2008 | |
| |
log/ | ||
| |
protocol.txt | Sat Apr 12 17:41:36 -0700 2008 | |
| |
public/ | ||
| |
script/ | ||
| |
spec/ | Mon Apr 14 17:00:08 -0700 2008 | |
| |
stories/ | Fri Apr 11 00:50:32 -0700 2008 | |
| |
uploads/ | Sun Apr 13 19:04:22 -0700 2008 | |
| |
vendor/ |
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 &

