mirror of
https://github.com/GOSTSec/gostexplr
synced 2025-01-29 16:04:32 +00:00
Updated package.json, README.md and remove reinitTables
This commit is contained in:
parent
f45c70df51
commit
ffebbb2c05
22
README.md
22
README.md
@ -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
|
||||
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
|
||||
|
@ -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
11
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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user