Move ProgramPort and LaunchBrowser into .args
This commit is contained in:
parent
ca857cdf1a
commit
72a36b3305
1
TODO.txt
1
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
|
||||
|
4
assets/.args
Normal file
4
assets/.args
Normal file
@ -0,0 +1,4 @@
|
||||
-p
|
||||
0
|
||||
-w
|
||||
/
|
@ -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"})
|
||||
|
Loading…
Reference in New Issue
Block a user