Stub:
- Install nodejs
-
On Windows
-
On Linux
sudo apt-get install npm
git clone
or download and unzip the block explorer files- In git bash or Windows command prompt, navigate to the folder (Example: "cd c/blockexplorer" if you unzipped the file to c:\blockexplorer) with a file named
server.js
- Run
npm install
- Run
node generate-config.js
(once) - Run
node server.js
(ornpm start
for development: will restart the server on every file change) - Go to 127.0.0.1:3000 in your browser
Press CTRL+C in the Git Bash or Command Prompt window to end the server process.
The processes started by running our server can end up hanging. You can force Windows to kill the process with the following command:
taskkill /IM node.exe /F
in a Windows command prompt or
taskkill -IM node.exe -F
in Git Bash