Skip to content

SamAg19/BD1---Medical-Records

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To start with, make sure your node version is up to 10.+

node -V
  1. Clone the repo
git clone https://github.com/SamAg19/BD1---Medical-Records.git
  1. Install dependencies.
npm i

Please make sure you have [email protected] already installed before running 'npm i'

  1. Local Network

Open a new terminal and run the following command

truffle develop

Let this terminal run until we finish our simulation

  1. Running the simulation test file

Open another terminal and run the following command

truffle test

There should be 7 cases out of which case no. 6 should fail and rest all should pass.