Closed gagna closed 5 years ago
hey, did the tests pass? npm run test
Yes
npm run test
> instapy-dashboard@0.3.0 test /home/user/instapy-dashboard
> NODE_ENV=test jest
(node:7682) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
PASS __tests__/integration/gets.test.js
● Console
console.log node_modules/sequelize/lib/sequelize.js:1118
Executing (default): SELECT 1+1 AS result
console.log node_modules/sequelize/lib/sequelize.js:1118
Executing (default): SELECT recActivity.rowid,
prof.id as profile_id,
prof.name,
sum(recActivity.likes) as likes,
sum(recActivity.comments) as comments,
sum(recActivity.follows) as follows,
sum(recActivity.unfollows) as unfollows,
sum(recActivity.server_calls) as server_calls,
strftime('%Y-%m-%d', recActivity.created) as day_filter
FROM recordActivity as recActivity
LEFT JOIN profiles as prof ON recActivity.profile_id = prof.id
GROUP BY day_filter, profile_id
ORDER BY recActivity.created desc
console.log src/services/routes.js:17
Connection has been established successfully.
PASS __tests__/integration/setup.test.js
Test Suites: 2 passed, 2 total
Tests: 3 passed, 3 total
Snapshots: 0 total
Time: 1.648s, estimated 3s
Ran all test suites.
1 - using the DevTools at "Network" tab, do you see some 4xx error?
2 - in your case, REACT_APP_API_ENTRY_POINT should be REACT_APP_API_ENTRY_POINT=http://192.168.0.100:3001
Solved, problem was here
REACT_APP_API_ENTRY_POINT=http://192.168.0.100:3001
Hi,
Ubuntu is installed on a local virtual machine, where I manually starts multiple InstaPy instances via SSH
I follow the installation instructions and I' m able to reach the dashboard on my network, the problem is that no data is shown