diff --git a/README.md b/README.md index eb3cb85..d5823cf 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ This project covers basic necessities of most APIs. ```bash git clone https://github.com/Permissionless-Software-Foundation/ipfs-service-provider cd ipfs-service-provider +sudo npm install -g node-pre-gyp npm install npm start ``` diff --git a/config/env/common.js b/config/env/common.js index 271c7c9..92003ff 100644 --- a/config/env/common.js +++ b/config/env/common.js @@ -67,5 +67,9 @@ module.exports = { name: 'Permissionless Software Foundation', url: 'https://PSFoundation.cash' } - } + }, + + // IPFS Ports + ipfsTcpPort: process.env.IPFS_TCP_PORT ? process.env.IPFS_TCP_PORT : 4001, + ipfsWsPort: process.env.IPFS_WS_PORT ? process.env.IPFS_WS_PORT : 4003 }