keter.yml updated

This commit is contained in:
SJost 2018-07-03 12:08:52 +02:00
parent ad69cd5355
commit c7e02a1c0d
4 changed files with 98 additions and 8 deletions

View File

@ -15,7 +15,7 @@ stanzas:
args: []
hosts:
- testworx.tcs.ifi.lmu.de
- uni2work.ifi.lmu.de
ssl: true
@ -24,19 +24,22 @@ stanzas:
- LDAPDN
- LDAPPW
- LDAPBN
- DUMMY_LOGIN
- DETAILED_LOGGING
- LOG_ALL
- PGUSER
- PGPASS
- PGHOST
- PGPORT
- PGDATABASE
# Use the following to automatically copy your bundle upon creation via `yesod
# keter`. Uses `scp` internally, so you can set it to a remote destination
# copy-to: user@host:/opt/keter/incoming/
copy-to: keter@testworx.tcs.ifi.lmu.de:/opt/keter/incoming/
copy-to-args:
- "-P 30363"
copy-to: root@uni2work.ifi.lmu.de:/opt/keter/incoming/
copy-to-args: []
# If you would like to have Keter automatically create a PostgreSQL database
# and set appropriate environment variables for it to be discovered, uncomment
# the following line.
plugins:
postgres: true
plugins: {}

42
config/keter_testworx.yml Normal file
View File

@ -0,0 +1,42 @@
root: ..
stanzas:
- type: webapp
# Name of your executable. You are unlikely to need to change this.
# Note that all file paths are relative to the keter.yml file.
#
# The path given is for Stack projects. If you're still using cabal, change
# to
# exec: ../dist/build/uniworx/uniworx
exec: ../dist/bin/uniworx
# Command line options passed to your application.
args: []
hosts:
- testworx.tcs.ifi.lmu.de
ssl: true
forward-env:
- LDAPURI
- LDAPDN
- LDAPPW
- LDAPBN
- DUMMY_LOGIN
- DETAILED_LOGGING
- LOG_ALL
# Use the following to automatically copy your bundle upon creation via `yesod
# keter`. Uses `scp` internally, so you can set it to a remote destination
# copy-to: user@host:/opt/keter/incoming/
copy-to: keter@testworx.tcs.ifi.lmu.de:/opt/keter/incoming/
copy-to-args:
- "-P 30363"
# If you would like to have Keter automatically create a PostgreSQL database
# and set appropriate environment variables for it to be discovered, uncomment
# the following line.
plugins:
postgres: true

45
config/keter_uni2work.yml Normal file
View File

@ -0,0 +1,45 @@
root: ..
stanzas:
- type: webapp
# Name of your executable. You are unlikely to need to change this.
# Note that all file paths are relative to the keter.yml file.
#
# The path given is for Stack projects. If you're still using cabal, change
# to
# exec: ../dist/build/uniworx/uniworx
exec: ../dist/bin/uniworx
# Command line options passed to your application.
args: []
hosts:
- uni2work.ifi.lmu.de
ssl: true
forward-env:
- LDAPURI
- LDAPDN
- LDAPPW
- LDAPBN
- DETAILED_LOGGING
- LOG_ALL
- PGUSER
- PGPASS
- PGHOST
- PGPORT
- PGDATABASE
# Use the following to automatically copy your bundle upon creation via `yesod
# keter`. Uses `scp` internally, so you can set it to a remote destination
# copy-to: user@host:/opt/keter/incoming/
copy-to: root@uni2work.ifi.lmu.de:/opt/keter/incoming/
copy-to-args: []
# If you would like to have Keter automatically create a PostgreSQL database
# and set appropriate environment variables for it to be discovered, uncomment
# the following line.
plugins: {}

View File

@ -606,7 +606,7 @@ getSCorrR tid csh shn = do
FormMissing -> return ()
let
formTitle = MsgSheetCorrectorsTitle tid csh shn
-- formTitle = MsgSheetCorrectorsTitle tid csh shn
formText = Nothing :: Maybe (SomeMessage UniWorX)
actionUrl = CSheetR tid csh shn SCorrR
-- actionUrl = CSheetR tid csh shn SShowR