瀏覽代碼

update README some more again

master
nitowa 2 年之前
父節點
當前提交
ad503bcabd
共有 1 個檔案被更改,包括 16 行新增0 行删除
  1. 16
    0
      README.md

+ 16
- 0
README.md 查看文件

@@ -69,6 +69,22 @@ listen = async () => {
69 69
 }
70 70
 ```
71 71
 
72
+# Building the project
73
+
74
+Prerequisites: 
75
+- NodeJS 17 (14 and up probably work, versions newer than 18 fail to build the Angular frontend)
76
+- npm
77
+
78
+Setup and build steps:
79
+- `npm i` in the project root
80
+- `cd src/frontend`
81
+- `npm i` again for the frontend build
82
+- `npm run start` in the project root. This will iteratively build the frontend, Deploy scripts, Deploy the frontend to the ripple blockchain and ultimately generate a gateway webpage under `gateway/index.html`.
83
+- Open `gateway/index.html` with a browser and you should see the shoutbox webpage after a short load.
84
+
85
+Troubleshooting:
86
+- If the project as been dormant for a while it is possible that the testnet wallets have been purged. In this case you have to repopulate the entries under [Configuration.ts](https://gitea.nitowa.xyz/nitowa/httxrp/src/branch/master/src/Configuration.ts) as well as the shoutboxAddress in [ShoutboxData.service.ts](https://gitea.nitowa.xyz/nitowa/httxrp/src/branch/master/src/frontend/src/app/services/ShoutboxData.service.ts) with fresh wallets. Funded testnet wallets can be generated via the [fauncet](https://xrpl.org/xrp-testnet-faucet.html). 
87
+
72 88
 # Credits
73 89
 
74 90
 - This project was originally inspired by indImm (https://ndm-inf.github.io/ndm/main), a ripple-based file storage using IPFS.

Loading…
取消
儲存