Skip to content

Commit

Permalink
moving start to src directory
Browse files Browse the repository at this point in the history
  • Loading branch information
moski committed Dec 17, 2008
1 parent d541880 commit 538e814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start.erl
Expand Up @@ -10,7 +10,7 @@ boot(true) ->
mysql_start(),
compile().

mysql_start() -> erlydb:start(mysql, [{hostname, DB_HOSTNAME }, {username, DB_USERNAME }, {password, "DB_PASSWORD"}, {database, DB_DATABASE}]).
compile() -> erlyweb:compile(APP_PATH, [{erlydb_driver, mysql}]).
mysql_start() -> erlydb:start(mysql, [{hostname, "localhost"}, {username, "erlang"}, {password, "erlang"}, {database, "blog"}]).
compile() -> erlyweb:compile("/Users/Moski/erlang/apps/blog", [{erlydb_driver, mysql}]).


0 comments on commit 538e814

Please sign in to comment.