Update shell scripts to point to https://aftok.com and prompt for input.
[?]
Jun 9, 2015, 9:48 PM
SPJCFHXWUHL5DPU72R6MLMVYCRL4YNOMGTDXRFL6GZPN5KOHAW7ACDependencies
- [2]
V2VDN77HEnable postgres configuration via environment variable for Heroku. - [3]
XZLSHL4DThe server is now (tenuously) running, and serving pages via SSL! - [4]
PBD7LZYQPostgres & auth are beginning to function. - [5]
2G3GNDDUEvent logging is now functioning in postgres. - [6]
GCVQD44VCreate amends endpoint, switch to UUID primary keys - [*]
ADMKQQGCInitial empty Snap project. - [*]
EPOYLP7OA little .gitignore cleanup.
Change contents
- edit in .gitignore at line 17[9.52]
local - replacement in scripts/create_project.sh at line 3
curl -v -u "nuttycom:kjntest" -X POST -H "Content-Type: application/json" -d '{"projectName":"the"}' http://localhost:8000/projectsread -p "Username: " USERread -s -p "Password: " PASSechoread -p "Project Name: " PROJECTcurl -v -k -u "$USER:$PASS" -X POST -H "Content-Type: application/json" -d "{\"projectName\":\"$PROJECT\"}" 'https://aftok.com/projects' - replacement in scripts/create_user.sh at line 9
curl -k -v -H 'Content-Type: application/json' -d "{\"username\":\"$USER\", \"password\":\"$PASS\", \"email\":\"$EMAIL\", \"btcAddr\":\"$BTC_ADDR\"}" 'https://localhost/register'curl -k -v -H 'Content-Type: application/json' -d "{\"username\":\"$USER\", \"password\":\"$PASS\", \"email\":\"$EMAIL\", \"btcAddr\":\"$BTC_ADDR\"}" 'https://aftok.com/register' - replacement in scripts/log_end.sh at line 1
curl -v -u "nuttycom:kjntest" -X POST -d '' http://localhost:8000/projects/6f4cba6f-02ec-4cc3-9241-00609d6a6f6a/logEnd/1KamUn1BaRMd2HwikyQWGTdUvfPScg9QA5[4.532]#!/bin/bashread -p "Username: " USERread -s -p "Password: " PASSechoread -p "Project ID: " PROJECTread -p "BTC Address: " BTC_ADDRcurl -v -k -u "$USER:$PASSWORD" -X POST -d '' "https://aftok.com/projects/$PROJECT/logEnd/$BTC_ADDR" - replacement in scripts/log_start.sh at line 1
curl -v -u "nuttycom:kjntest" -X POST -d '' http://localhost:8000/projects/6f4cba6f-02ec-4cc3-9241-00609d6a6f6a/logStart/1KamUn1BaRMd2HwikyQWGTdUvfPScg9QA5[4.689]#!/bin/bashread -p "Username: " USERread -s -p "Password: " PASSechoread -p "Project ID: " PROJECTread -p "BTC Address: " BTC_ADDRcurl -v -k -u "$USER:$PASSWORD" -X POST -d '' "https://aftok.com/projects/$PROJECT/logStart/$BTC_ADDR" - edit in server/Aftok/QConfig.hs at line 22
-- , sslCert :: FilePath-- , sslKey :: FilePath-- , dbName :: String - edit in server/Aftok/QConfig.hs at line 38
-- <*> (fmap fpFromText $ C.require cfg "sslCert")-- <*> (fmap fpFromText $ C.require cfg "sslKey")-- <*> C.require cfg "db" - edit in server/Aftok/QConfig.hs at line 43
--SC.setSSLPort (port qc) .--SC.setSSLCert (fpToString $ sslCert qc) .--SC.setSSLKey (fpToString $ sslKey cfg)