From 07f26a7ec3b9f823a6554260f6d391a052a3979e Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Fri, 1 May 2020 10:30:28 -0700 Subject: [PATCH] ok --- binaries/config/app.json | 32 -------------------------------- binaries/config/config.json | 18 ------------------ package.json | 2 +- 3 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 binaries/config/app.json delete mode 100644 binaries/config/config.json diff --git a/binaries/config/app.json b/binaries/config/app.json deleted file mode 100644 index 6974097..0000000 --- a/binaries/config/app.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "development": { - "senza_url": "http://localhost:3000/api/v2", - "macaroon_location": "/Users/evanfeenstra/code/lnd-dev/alice/data/chain/bitcoin/simnet/admin.macaroon", - "tls_location": "/Users/evanfeenstra/Library/Application Support/Lnd/tls.cert", - "node_ip": "127.0.0.1", - "lnd_port": "10001", - "node_http_protocol": "http", - "node_http_port": "3001", - "hub_api_url": "http://lvh.me/api/v1", - "hub_url": "http://lvh.me/ping", - "hub_invite_url": "http://lvh.me/invites", - "hub_check_invite_url": "http://lvh.me/check_invite", - "media_host": "localhost:5000" - }, - "production": { - "senza_url": "https://staging.senza.us/api/v2/", - "macaroon_location": "/home/ubuntu/.lnd/data/chain/bitcoin/mainnet/admin.macaroon", - "tls_location": "/home/ubuntu/.lnd/tls.cert", - "lnd_log_location": "/home/ubuntu/.lnd/logs/bitcoin/mainnet/lnd.log", - "lncli_location": "/home/ubuntu/go/bin", - "node_ip": "localhost", - "node_http_protocol": "http", - "node_http_port": "80", - "lnd_port": "10009", - "hub_api_url": "https://hub.sphinx.chat/api/v1", - "hub_url": "https://hub.sphinx.chat/ping", - "hub_invite_url": "https://hub.sphinx.chat/invites", - "hub_check_invite_url": "https://hub.sphinx.chat/check_invite", - "media_host": "memes.sphinx.chat" - } -} diff --git a/binaries/config/config.json b/binaries/config/config.json deleted file mode 100644 index c47e635..0000000 --- a/binaries/config/config.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "development": { - "dialect": "sqlite", - "storage": "/Users/Shared/sphinx.db" - }, - "docker_development": { - "dialect": "sqlite", - "storage": "./sphinx.db" - }, - "test": { - "dialect": "sqlite", - "storage": "/home/ubuntu/sphinx.db" - }, - "production": { - "dialect": "sqlite", - "storage": "/home/ubuntu/sphinx.db" - } -} diff --git a/package.json b/package.json index b2e63ef..53b9b48 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "prod": "cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && env NODE_ENV=production node dist/app.js", "tsc": "rm -rf dist/ && tsc && cp -r public dist/public", "dev": "rm -rf dist/ && tsc && cp -r public dist/public && node --inspect ./dist/app.js", - "build-binaries": "rm -rf dist/ && tsc && cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && pkg . --target node12-alpine-x64,node12-macos-x64 --out-path binaries && cp config/app.json binaries/config/app.json && cp config/config.json binaries/config/config.json" + "build-binaries": "rm -rf dist/ && tsc && cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && pkg . --target node12-alpine-x64,node12-macos-x64 --out-path binaries" }, "keywords": [], "author": "",