An online Social News Site
Pull request Compare This branch is 3 commits behind e1ven:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
feeds
nginx
scripts
static
tornado
.gitignore
404.html
NofollowExtension.py
README
ccn.html
editreplyform.html
editsubmitform.html
footer-login.html
footer-verify.html
footer.html
header.html
indextank_client.py
indextank_client.pyc
install.txt
loginform.html
lonava-ssl.py
lonava.py
lonmsg.html
lonreply.html
lonstory-title.html
lonstory.html
mdx_NofollowExtension.py
newchanform.html
nowloggedout.html
registerform.html
replyform.html
repostform.html
schema.sql
search.py
sendmsgform.html
showingstories.html
sitemap.py
submitform.html
subscribe.html
thanks.html
urlnorm.py
urlnorm.pyc
userform.html
userpage.html

README

Lonava is an online Social News site, like Reddit or Digg.
I've added the code here- I know that it's not very well written, but I figured someone might be able to use it.

Start Lonava.py on port 80 for testing, and mess around. 
For production, use the provided init script to run it on 81 82 83 84 and have nginx proxy.

You'll want to create the SQL database as noted in the code.
Description page - http://e1ven.com/2010/09/17/lonava-2/
GitHub page - http://github.com/e1ven/Lonava

Postgres schema is stored in schema.sql
nginx files in the nginx directory


The Lonava Python files are available under the MIT/Expat license, as below.
The Lonava logo and mascot are not offered under license. I want to keep them. ;)

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.