From ffebbb2c055f0d510eb6057e4e79591dad747670 Mon Sep 17 00:00:00 2001 From: xcps Date: Sun, 4 Feb 2018 22:11:25 +0500 Subject: [PATCH] Updated package.json, README.md and remove reinitTables --- README.md | 22 +++++----------------- bin/reinitTables.js | 14 -------------- package.json | 11 +++++++++-- 3 files changed, 14 insertions(+), 33 deletions(-) delete mode 100644 bin/reinitTables.js diff --git a/README.md b/README.md index 0fcf663..eb017a6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +Copy config +
+config/config.json.example -> config/config.json
+
+ Use mysql
 cd gostexplr
@@ -7,24 +12,7 @@ npm run syncBlockchain
 npm run start
 
-For production use -
-export NODE_ENV=production
-
- In ~/.gostcoin/gostcoin.conf add this parameter
 blocknotify=/path/to/your/gostexplr/scripts/blocknotify.sh
 
- -TODO: - - cut possible -000 from transaction - - search NOT FOUND message - - pagination on index page - - block page by index - - move database to server - - setup cron - - ? transaction connect vout to transaction - - address balance info - - lint - - ES7 diff --git a/bin/reinitTables.js b/bin/reinitTables.js deleted file mode 100644 index 1245638..0000000 --- a/bin/reinitTables.js +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env node -var models = require('../models'); - -models.sequelize.sync({force: true}) -.then(() => { - console.log('REINIT SUCCESS') - process.exit(0); -}) -.catch((err) => { - console.log(err); - process.exit(0); -}); - - diff --git a/package.json b/package.json index 086b7be..8e35783 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,20 @@ { "name": "gostexplr", - "version": "0.0.0", + "description": "GOSTcoin blockchain explorer", + "version": "0.0.3", "private": true, "scripts": { "start": "node ./bin/www", "initdb": "node ./bin/initdb.js", - "reinitTables": "node ./bin/reinitTables.js", "syncBlockchain": "node ./bin/syncBlockchain.js" }, + "repository": { + "type": "git", + "url": "https://github.com/xcps/gostexplr.git" + }, + "engines": { + "node": ">=7.10.1" + }, "dependencies": { "babel-register": "^6.26.0", "body-parser": "~1.18.2",