Setup
Note: You’ll need to have Node 6.x.x version on your local development machine. You can use nvm to easily switch Node versions between different projects.

1. Clone the Repository

To clone the repository, a. git clone <URL of repository> b. download the repository and extract it.
After cloning the repository, you need to add a file on the repository.
  • File location: <root of infactor repository>/Config/config.js
  • File content should be copied from defaultConfig.js and paste in config.js

2. Install dependencies

1
a. Install Node modules
2
3
npm install
4
5
b. Install Angular Modules
6
7
bower install
Copied!

3. Deploy Contract

To connect with XinFin Blockchain, follow these instructions
1
a. Compile Contract
2
3
truffle compile
4
5
b. Deploy Contract
6
7
truffle migrate
Copied!

start server

1
npm start
Copied!
Note: Open the browser with following url: http://localhost:6001/login
Last modified 2yr ago