Coder Social home page Coder Social logo

letsfreckle's Introduction

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 [email protected]: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

letsfreckle's People

Stargazers

Alex avatar

Watchers

Lade Oshodi avatar

Forkers

jugba

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.