yariv / twoorl
- Source
- Commits
- Network (8)
- Issues (1)
- Downloads (0)
- Wiki (3)
- Graphs
-
Tree:
3ea5392
yariv (author)
Sun Dec 14 18:06:45 -0800 2008
commit 3ea53921ec2377cd4aef9b5baa0ed344b2240072
tree 415c4af57c40631ba97d3e2b8d6f27d6a1346fd7
parent 549efa2f270531bb7f866ba00bd4c1fd2302b2ad
tree 415c4af57c40631ba97d3e2b8d6f27d6a1346fd7
parent 549efa2f270531bb7f866ba00bd4c1fd2302b2ad
twoorl /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Jun 17 20:58:12 -0700 2008 | |
| |
COPYING | Sat May 31 15:46:18 -0700 2008 | |
| |
Emakefile | ||
| |
Makefile | Mon Jun 09 21:23:34 -0700 2008 | |
| |
README.txt | Mon Jun 09 21:23:34 -0700 2008 | |
| |
ebin/ | Mon Jun 09 21:19:34 -0700 2008 | |
| |
elib/ | ||
| |
migrations/ | Sun Jun 22 11:05:07 -0700 2008 | |
| |
src/ | ||
| |
twoorl.sql | Sat May 31 15:46:18 -0700 2008 | |
| |
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

