网赚论坛

 找回密码
 免费注册
查看: 282|回复: 0
打印 上一主题 下一主题

区块浏览器网站搭建教程( nuexplore开源)

[复制链接]

15

主题

15

帖子

60

积分

Ⅰ级财主

Rank: 1

积分
60
跳转到指定楼层
楼主
发表于 2017-11-20 23:42:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
依赖环境:

Nodejs
Mongodb
Nu 客户端



安装指南:
Installation

  • 下载并安装钱包 Wallet NuBits

    • unzip,install and launch nu.exe to sync all blocks (安装后需同步完区块链)

  • 安装 Node.js
  • 安装 MongoDB

    • a replica set is needed to keep track of changes in db.
    • use mongod [backcolor=rgba(0, 0, 0, 0.0392157)]--replSet ; Note: [backcolor=rgba(0, 0, 0, 0.0392157)]--auth and [backcolor=rgba(0, 0, 0, 0.0392157)]bind_ip=127.0.0.1 are recommended configurations

  • Clone the NuExplorer repo to the server you want to deploy it on.
  • Load dependencies with [backcolor=rgba(0, 0, 0, 0.0392157)]sudo npm install.
  • Copy the [backcolor=rgba(0, 0, 0, 0.0392157)]mongo-oplog-watcher folder into [backcolor=rgba(0, 0, 0, 0.0392157)]node_modules
  • Adjust mongodb connection urls according to your mongodb setup

    • connection urls are located in [backcolor=rgba(0, 0, 0, 0.0392157)]server.js, and at the top of each [backcolor=rgba(0, 0, 0, 0.0392157)]/public/app/api/*_api.js scripts

  • From the command line, invoke [backcolor=rgba(0, 0, 0, 0.0392157)]node server.js to launch the application.Open any web browser and enter [backcolor=rgba(0, 0, 0, 0.0392157)]localhost:800 in the url.



来源:https://github.com/JetJet13/NuExplorerOS
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

广告合作|Archiver|手机版|小黑屋|财富吧

GMT+8, 2026-7-18 19:08 , Processed in 0.436801 second(s), 35 queries , Gzip On.

Powered by Discuz! X3.1

© 2014-2021 财富吧

快速回复 返回顶部 返回列表