diff --git a/src/main/resources/props/sample.props.template b/src/main/resources/props/sample.props.template new file mode 100644 index 000000000..284d1142b --- /dev/null +++ b/src/main/resources/props/sample.props.template @@ -0,0 +1,24 @@ +#this is a sample props file you should edit and rename +#see https://www.assembla.com/wiki/show/liftweb/Properties for all the naming options, or just use "default.props" in this same folder + +#you can use a no config needed h2 database by setting db.driver=org.h2.Driver and not including db.url +db.driver=org.postgresql.Driver +#be sure to create your database and update the line below! +db.url=jdbc:postgresql://localhost:5432/dbname?user=dbusername&password=thepassword + +#this is needed for oauth to work. it's important to access the api over this url, e.g. +# if this is 127.0.0.1 don't use localhost to access it. +hostname=http://127.0.0.1:8080 + +#set this to false if you don't want the api payments call to work +payments_enabled=true + +#mail server config: not need in dev mode, but important for production +mail.api.consumer.registered.sender.address=no-reply@example.com +mail.api.consumer.registered.notification.addresses=you@example.com +mail.smtp.host=127.0.0.1 +mail.smtp.port=25 + +#secret key that allows access to api calls to get info about oauth tokens. You should change this +#to your own secret key +BankMockKey=0Msfsofo3px99v0annf09s9j032 \ No newline at end of file