In the 2_deploy_contracts.js, you need to pass the bonus rate as second argument to the deployment of Stake contract and the token contract as first argument
module.exports = (deployer, networks, accounts) => {
deployer.deploy(Token).then(() => {
return deployer.deploy(Stake, Token.address, 10);
})
}
Here, the bonus rate is set as 10 tokens and the token is a dummy token
truffle migrate --network development
truffle migrate --network ropsten
truffle migrate --network mainnet
truffle test --network development