Installation
This is documentation for local installation production installation coming soon.
Installation
Analytics Box is divided into 2 main parts
Backend
Tracker
First clone git repo
$ git clone https://github.com/KetanIP/analytics/Then create a config.json file in backend folder.
{
"test_mode": true,
"test_ip": "YOUR_PUBLIC_IP_HERE",
"database_url": "CLICKHOUSE_URL",
"queries_file": "./queries/pg_queries.sql",
"database_driver": "clickhouse"
}Then to start backend use the following commands
$ # Install go dependencies
$ go run .\main.goYour backend should run on http://localhost:3000/ .
To run frontend for test run the following commands.
$ cd .\tracker
$ npm i
$ npm run devIt will start a test severs on http://localhost:1234 .
Last updated
Was this helpful?