forked from iquidus/explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocuments
45 lines (36 loc) · 1.49 KB
/
documents
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
sudo Firecoind -daemon -txindex
sudo Techcoind -daemon -txindex
sudo mongod --dbpath /home/pcie/.Firecoin
sudo mongod --dbpath /home/pcie/.Techcoin
sudo mongo
cd fire_explorer
cd tech_explorer
sudo npm start
sudo rm tmp/index.pid
crontab -e
*/1 * * * * cd fire_explorer && /usr/bin/nodejs scripts/sync.js index update > /dev/null 2>&1
*/2 * * * * cd fire_explorer && /usr/bin/nodejs scripts/sync.js market > /dev/null 2>&1
*/5 * * * * cd fire_explorer && /usr/bin/nodejs scripts/peers.js > /dev/null 2>&1
*/30 * * * * cd fire_explorer && /usr/bin/nodejs scripts/mapgetdata.js > /dev/null 2>&1
*/1 * * * * cd tech_explorer && /usr/bin/nodejs scripts/sync.js index update > /dev/null 2>&1
*/2 * * * * cd tech_explorer && /usr/bin/nodejs scripts/sync.js market > /dev/null 2>&1
*/5 * * * * cd tech_explorer && /usr/bin/nodejs scripts/peers.js > /dev/null 2>&1
*/30 * * * * cd tech_explorer && /usr/bin/nodejs scripts/mapgetdata.js > /dev/null 2>&1
@reboot sleep 10; sudo Techcoind -daemon -txindex
@reboot sleep 15; sudo Firecoind -daemon -txindex
//@reboot sleep 55; cd tech_explorer && sudo npm start
//@reboot sleep 60; cd fire_explorer && sudo npm start
Ctrl X
y
cd ..
Ctrl C
cd fire_explorer
forever start -c "npm start" ./
ferever list
sudo node scripts/sync.js index update
sudo node scripts/sync.js index check
sudo node scripts/sync.js index reindex
sudo node scripts/sync.js market reindex
sudo node scripts/peers.js index update
sudo node scripts/peers.js index check
sudo node scripts/peers.js index reindex