Generated with: Unsplash
TogglBill is a platform extension for Toggl that keeps track of billing and payments.
To configure TogglBill to receive your tasks from Toggl, you will need to set a Zapier rule.
- Go to Zapier and create a new Zap.
- Use 'New Time Entry' from Toggl for the trigger.
- Connect your account, select a workspace, and pull a sample.
- Use Zapier's 'Webhook Action' for the action.
- Select the option to fire a POST request.
- Use the following fields:
URL:
Use <DOMAIN OF YOUR TogglBill DEPLOYMENT>/api/entries
If you delpoyed TogglBill in https://cool-app.herokuapp.com, the URL to use would be: https://cool-app.herokuapp.com/api/entries
Payload Type:
Use the Json
payload.
Data:
The value on the left is the value you should use as key (without the colon :
). The values on the right are the names of the Toggl variables to use.
totalHours: Duration Hours
externalProjectId: Project ID
endDate: Stop
startDate: Start
projectName: Project Name
totalMinutes: Duration Minutes
externalEntryId: ID
externalClientId: Project Client ID
duration: Duration
clientName: Project Client Name
- Submit your Zap, test it, give it a name, and activate it.
-
Install Meteor
On Linux & Mac:
> curl https://install.meteor.com/ | sh
This will setup Meteor (including Node and Mongo if necessary).
Note: Windows users must download installer.
-
Clone Repository
> git clone https://github.com/juangesino/toggl-bill.git > cd toggl-bill
-
Install Dependencies
If you have npm installed:
> npm install
If you only have meteor:
> meteor npm install
-
Run
While in repository directory run:
> meteor run
Load browser and go to http://localhost:3000/
Follow these steps to deploy the Meteor app on Heroku.
- Fork it ( https://github.com/juangesino/toggl-bill/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
See MIT-LICENSE.