Browse Source

Updated package.json, README.md and remove reinitTables

stuff
xcps 6 years ago
parent
commit
ffebbb2c05
  1. 22
      README.md
  2. 14
      bin/reinitTables.js
  3. 11
      package.json

22
README.md

@ -1,3 +1,8 @@ @@ -1,3 +1,8 @@
Copy config
<pre>
config/config.json.example -> config/config.json
</pre>
Use mysql
<pre>
cd gostexplr
@ -7,24 +12,7 @@ npm run syncBlockchain @@ -7,24 +12,7 @@ npm run syncBlockchain
npm run start
</pre>
For production use
<pre>
export NODE_ENV=production
</pre>
In ~/.gostcoin/gostcoin.conf add this parameter
<pre>
blocknotify=/path/to/your/gostexplr/scripts/blocknotify.sh
</pre>
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

14
bin/reinitTables.js

@ -1,14 +0,0 @@ @@ -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);
});

11
package.json

@ -1,13 +1,20 @@ @@ -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",

Loading…
Cancel
Save