yariv / twoorl

The source code repository for twoorl.com

This URL has Read+Write access

yariv (author)
Sun Dec 14 18:06:45 -0800 2008
commit  3ea53921ec2377cd4aef9b5baa0ed344b2240072
tree    415c4af57c40631ba97d3e2b8d6f27d6a1346fd7
parent  549efa2f270531bb7f866ba00bd4c1fd2302b2ad
twoorl /
name age message
file .gitignore Tue Jun 17 20:58:12 -0700 2008 Merge branch 'my-ngerakines' Conflicts: .git... [yariv]
file COPYING Sat May 31 15:46:18 -0700 2008 first import from svn [yariv]
file Emakefile Loading commit data...
file Makefile Mon Jun 09 21:23:34 -0700 2008 Updating the readme and makefile, no more need ... [ngerakines]
file README.txt Mon Jun 09 21:23:34 -0700 2008 Updating the readme and makefile, no more need ... [ngerakines]
directory ebin/ Mon Jun 09 21:19:34 -0700 2008 Added mnesia, mysql and compile start phases. M... [ngerakines]
directory elib/
directory migrations/ Sun Jun 22 11:05:07 -0700 2008 added spam filtering [yariv]
directory src/
file twoorl.sql Sat May 31 15:46:18 -0700 2008 first import from svn [yariv]
directory www/
README.txt
To run Twoorl follow the following steps:

- Get the latest versiona of ErlyWeb (prior to 0.7.1, this would be from trunk) and Yaws
- Install MySQL and create a MySQL database for twoorl.
- Run twoorl.sql to create the Twoorl tables.
- Edit src/twoorl_app.hrl with your appropriate environment variables.
- Compile src/twoorl.erl with 'erlc'.
- Edit yaws.conf to add the ErlyWeb application settings for Twoorl.
- Start Yaws and in the shell, type "twoorl:start()". Alternatively, pass Yaws the parameter "--runmon twoorl".

Cheers!
Yariv

To run in embedded mode:

$ make clean && make
$ erl -sname twoorlapp -setcookie twoorl -mnesia dir "'twoorl.mnesia'" -yaws embedded true -pa ebin -boot start_sasl
1> [application:start(X) || X <- [inets, crypto, mnesia, twoorl]].
[ok, ok, ok, ok]

# Nick Gerakines