websites.concatenative: Add a way to test postgresql.
parent
c42926ae97
commit
0c12c8f118
|
@ -6,6 +6,7 @@ namespaces smtp urls
|
||||||
db2.connections
|
db2.connections
|
||||||
orm.tuples
|
orm.tuples
|
||||||
sqlite.db2
|
sqlite.db2
|
||||||
|
postgresql.db2
|
||||||
logging.insomniac calendar timers
|
logging.insomniac calendar timers
|
||||||
html.templates.chloe
|
html.templates.chloe
|
||||||
http.server
|
http.server
|
||||||
|
@ -35,6 +36,12 @@ websites.factorcode ;
|
||||||
IN: websites.concatenative
|
IN: websites.concatenative
|
||||||
|
|
||||||
: website-db ( -- db ) home "website.db" append-path <sqlite-db> ;
|
: website-db ( -- db ) home "website.db" append-path <sqlite-db> ;
|
||||||
|
: website-db2 ( -- db )
|
||||||
|
<postgresql-db>
|
||||||
|
"localhost" >>host
|
||||||
|
"erg" >>username
|
||||||
|
"thepasswordistrust" >>password
|
||||||
|
"factor-test" >>database ;
|
||||||
|
|
||||||
: init-factor-db ( -- )
|
: init-factor-db ( -- )
|
||||||
mason-db [ init-mason-db ] with-db
|
mason-db [ init-mason-db ] with-db
|
||||||
|
|
Loading…
Reference in New Issue