taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

entry_point.sh (544B)


      1 #!/bin/bash
      2  
      3 
      4 (su -c "createuser --host=dbcontainer root" - postgres | exit 0)
      5 (su -c "createdb --host=dbcontainer talertest" - postgres | exit 0)
      6 taler-config -s merchantdb-postgres -o config \
      7   -V "dbname=talertest host=dbcontainer"
      8 taler-config -s merchant -o serve -V tcp
      9 taler-config -s merchant -o port -V 9966
     10 taler-config -s merchant-exchange-test -o master_key -V $(cat /exchange_pub.txt|tr -d '\n')
     11 taler-config -s merchant-exchange-test -o url -V $(cat /exchange_url.txt | tr -d '\n')
     12 taler-merchant-dbinit -r
     13 taler-merchant-httpd