Skip to content

ladeoshodi/letsfreckle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let's Freckle

Freckle directly from your terminal

nb: the setup might be a bit long but after you're done with this, you'll be freckling away 🙂

Setup

On Freckle Dashboard
  1. Go to your freckle dashboard
  2. Navigate to Freckle Api under Connected Apps
  3. Click on the settings of Personal Access Tokens and create a token. You could use letsfreckle_client for the application name.
  4. PLEASE SAVE YOUR TOKEN BEFORE CLOSING THAT PAGE

FreckleStep1

FreckleStep2

Setting up the project
  1. Ensure you have python install
brew install python
  1. Ensure you have virtualenv installed, I prefer to use virtualenv wrapper. Read here
  2. Clone project
git clone git@github.com:laddeos/letsfreckle.git
  1. Create your virtualenv. command shown assumes virtualenv wrapper
mkvirtualenv letsfreckle
  1. Navigate to project and install dependencies
pip install -r requirements.txt
  1. Create a .env file in the root directory of your project
├── .env
├── .gitignore
├── README.md
├── freckle.py
├── log_freckle.py
├── readme_img
└── requirements.txt
  1. Save your Personal Freckle Token in the .env file
access_token='personal_token'
  1. Optional create an alias to easily navigate to the project folder to get you started toot sweet
alias letsfreckle="workon letsfreckle && cd <path_to_project>"

And you are all set!!!

Let's Freckle

  1. Once you are all setup, in the folder directory run below to view what is possible
python log_freckle -h
  1. Log for today
python log_freckle.py today 480 <Project> <Description/Tag>
  1. Log for any date as long as date is in the format yyyy-mm-dd
python log_freckle.py 2017-06-17 480 <Project> <Description/Tag>
  1. If you have the alias setup, you can always type the alias to easily navigate to the project and freckle away

That's all folks!!!!! 🐰

Errors

If you spot an error feel free to reach out to me or drop an issue and tag me. Bye for now

About

Freckle directly from your terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages