Setting up
Frontend
Repository link: Influence
In the influence terminal:
git checkout develop
In the main influence folder create .env.local file and put in there settings copied from .env.example. If you’d like to use local backend, remember to comment this line from env.local:
REACT_APP_API_URL='https://test.influencebackend.xyz'
Install dependencies:
npm install
Run application:
npm start
Backend
Repository link: Influence hub
In the influence-hub terminal:
git checkout develop
Install dependencies:
npm install
In the main influence-hub folder create .env.local file and put in there settings copied from .env.
Add your wallet address into
admin_init
file undermigration
folder. Make sure export line is uncommented.Run application:
docker-compose up --build
If after the building there are no documents in database under strategies collection, make sure
strategies_init
file undermigration
folder has uncommented export line.