~singpolyma/sgx-jmp

Thin proxy SGX that represents JMP.chat itself
On SGX register! failure, return a useful error to user
Explicitly wrap errors we want to send

You can also use your local clone with git send-email.

Make sure to use git clone --recursive on this repository to get the submodule.

sudo apt install postgresql-11 postgresql-client
sudo -u postgres psql
CREATE DATABASE jmp;
GRANT ALL ON DATABASE jmp TO unix_user;
exit
sudo apt install sqitch
cd schemas
sqitch deploy
bundle install --path=.gems
cp config.dhall.sample config.dhall
$EDITOR config.dhall # Set up appropriately for local prosody, braintree, etc
bundle exec ruby sgx_jmp.rb ./config.dhall