-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
83 lines (58 loc) · 3.2 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Pagecake was originally called aelua/bootstrapp and designed and
implimented on top of googles app engine. It has slowly shifted into
an nginx and openresty based web framework.
Google App Engine probably still works, but I no longer care. Sorry
but it makes more sense to fire up an amazon instance and run the nginx
version. Even in its currently hacked together state it's more stable
and delivers faster responses for any medium size website.
Yeah it don't scale but I will welcome that problem when I hit it. :)
Actually I figure amazon is too expensive but you get the idea.
All the old appengine code has been removed to reduce confusion, as
I am no longer interested in even testing if it still works. Either
look in the history of this project or visit the old google code
repository at
https://code.google.com/p/aelua/
The basic idea of pagecake is producing a number of mods which are
then stuck together on a single website (each one living at a
different dir) depending on your needs. so for instance /thumbcache
is where some simple image caching code for thumbnails exists. The
main module is waka which is a wiki like html page creation/editing
module.
Look inside the mods directory for more information about what each
module is trying to achieve and if it is a good idea to use it.
All of my websites are now contained within the apps/wet directory
with virtual hosts support to run different bits from different
domains. This is actually my live config, all secrets are added
via the website and the admin module.
Places to see this code run are...
http://gamecake.4lfa.com/
http://dime.lo4d.net/
http://hoe.4lfa.com/
http://4lfa.com/
Pagecake is a sister project to Gamecake and shares some of the same
code as well as requireing Gamecake to build/install.
You must checkout this repo side by side with bin and lua then build
the nginx in the lua repo.
eg
hg clone https://bitbucket.org/xixs/bin
hg clone https://bitbucket.org/xixs/lua
hg clone https://bitbucket.org/xixs/pagecake
Building the code in lua creates a build of nginx with openresty and
other required lua/C libs.
All content is MIT licenesed unless explicitly stated otherwise.
Copyright (c) 2010 www.wetgenes.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.