public
Description: The source code repository for twoorl.com
Homepage: http://twoorl.com
Clone URL: git://github.com/yariv/twoorl.git
twoorl /
name age message
file .gitignore Mon Jun 09 21:19:34 -0700 2008 Added mnesia, mysql and compile start phases. M... [ngerakines]
file COPYING Sat May 31 15:46:18 -0700 2008 first import from svn [yariv]
file Emakefile Mon Jun 09 21:19:34 -0700 2008 Added mnesia, mysql and compile start phases. M... [ngerakines]
file Makefile Mon Jun 09 21:23:34 -0700 2008 Updating the readme and makefile, no more need ... [ngerakines]
file README Sat May 31 15:10:28 -0700 2008 first commit [yariv]
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/ Mon Jun 09 00:02:06 -0700 2008 Organized the elib. Updated the Makefile, Readm... [ngerakines]
directory migrations/ Sun Jun 08 16:47:09 -0700 2008 added background image migration [yariv]
directory src/ Mon Jun 09 21:19:34 -0700 2008 Added mnesia, mysql and compile start phases. M... [ngerakines]
file twoorl.sql Sat May 31 15:46:18 -0700 2008 first import from svn [yariv]
directory www/ Sun Jun 08 19:19:29 -0700 2008 revamped following/followers pages [yariv]
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