diff --git a/TODO.txt b/TODO.txt index d3b0088..4f12257 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,4 +1,3 @@ -Move ServerPort and LaunchBrowser into .args so they can be overridden in makefile Write a makefile rule to run tests in redbean Set up page routes Figure out how Lua Server Pages work diff --git a/assets/.args b/assets/.args new file mode 100644 index 0000000..d98f205 --- /dev/null +++ b/assets/.args @@ -0,0 +1,4 @@ +-p +0 +-w +/ \ No newline at end of file diff --git a/assets/.init.lua b/assets/.init.lua index 4c5cc1d..c1d55b1 100644 --- a/assets/.init.lua +++ b/assets/.init.lua @@ -1,5 +1,3 @@ -LaunchBrowser() - local migrate = require "migrate" local DB_FILENAME = "peachy.db" @@ -7,7 +5,7 @@ sqlite3 = require "lsqlite3" local db = sqlite3.open(DB_FILENAME) db:exec("PRAGMA journal_mode=WAL") db:exec("PRAGMA foreign_keys") -migrate.migrate(db) +-- migrate.migrate(db) fm = require "fullmoon" fm.setTemplate({"/tmpl/", tmpl = "fmt"})