# block-chain-sys **Repository Path**: foway/block-chain-sys ## Basic Information - **Project Name**: block-chain-sys - **Description**: 区块链医疗病历系统后台 - **Primary Language**: JavaScript - **License**: 0BSD - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-12-03 - **Last Updated**: 2022-12-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 说明 区块链医疗病例系统后台,通过主要通过智能合约实现病例系统的业务逻辑 # 依赖说明: 1. sodility版本:0.6.12 2. openzeppelin版本:3.4.2 3. truffle最新稳定版 4. sailsjs 最新稳定版 ## Installation 1. Install Truffle globally. ```javascript npm install -g truffle ``` 2. Run the development console. ```javascript truffle develop ``` 3. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with `truffle`. ```javascript compile migrate ``` 4. Run the `liteserver` development server (outside the development console) for front-end hot reloading. Smart contract changes must be manually recompiled and migrated. ```javascript // Serves the front-end on http://localhost:3000 npm run dev ``` **NOTE**: - code resource: src - contracts: contracts - web interaction: src, simple webview using to test web3 interface