how to install 1win on live server
Many people asking this questions how to enable their live sports api in 1win clone / seibet / capivara. Here we explained you how to integrate live sports api and enable your live sports on your website.
its very simple just follow these steps.
1. first make account on https://betsapi.com
2. buy everything API, you can also buy their trial version.
3. get your token from betsapi.com
4. put your token of in these files
1win/source code\sports\app\config\index.js
Line 2: TOKEN: ‘144286-m1YhRHgGIdNrXjAP’,
1win\sports\app\EventApi\config\index.js
Line 2: TOKEN: ‘144286-m1YhRHgGIdNrXjAP’,
5. after putting your token run these command.
sudo pm2 start server.js –watch in /var/www/1win/sports/ (that one should be your directory)
cd /var/www/1win/sports
npm install
sudo pm2 start server.js –watch
thas it, after these steps your live sports games will be working on your website









