Git Product home page Git Product logo

Comments (4)

alanhamlett avatar alanhamlett commented on June 8, 2024 2

Here are the manual install instructions. I'll add them to the readme soon:

  1. Restart Cloud9 in Debug Mode (add ?debug=2 to the url)
  2. git clone https://github.com/wakatime/c9-wakatime.git
  3. cd c9-wakatime
  4. c9 install .
  5. echo "export WAKATIME_HOME='~/workspace/'" >> ~/.profile
  6. touch ~/workspace/.wakatime.cfg
  7. Enter your API Key in the Cloud9 preferences. (might need to refresh the page first)

from c9-wakatime.

alanhamlett avatar alanhamlett commented on June 8, 2024 1

It seems to only work in debug mode, not sure how to install plugins in regular mode without the Cloud9 Plugin API.

To enter your api key, go to this menu option:
Cloud9 -> Preferences -> User Settings -> WakaTime

from c9-wakatime.

spences10 avatar spences10 commented on June 8, 2024

My god that was fugly!

This is what I did to install manually

$ git clone https://github.com/wakatime/c9-wakatime
$ cd ~
$ cd .c9/plugins/wakatime
$ cp -a ~/workspace/c9-wakatime/. ~/.c9/plugins/wakatime/

Then used:

$ c9 run wakatime

Then got this output:

Permissions are:  world
Data is:  {
  "name": "wakatime",
  "description": "Metrics, insights, and time tracking automatically generated from your programming activity.",
  "version": "3.0.2",
  "author": "WakaTime",
  "contributors": [
    {
      "name": "Alan Hamlett",
      "email": "[email protected]"
    }
  ],
  "repository": {
    "type": "git",
    "url": "http://github.com/wakatime/c9-wakatime.git"
  },
  "plugins": {
    "wakatime": {
      "packagePath": "plugins/wakatime/wakatime"
    }
  },
  "engines": {
    "c9": ">=3.0.0"
  },
  "categories": [
    "miscellaneous"
  ],
  "license": "BSD-3-Clause",
  "licenses": [
    {
      "type": "BSD",
      "url": "https://github.com/wakatime/c9-wakatime/blob/master/LICENSE"
    }
  ],
  "installer": "install.js",
  "permissions": "world"
}
Permissions are:  world
WARNING: Description property in package.json will be ignored. README.md will be used.
Processing 3 files.
Compressing:  false
Done!

Then went to Tools>Developer>Start in Debug Mode then you are prompted to enter your wakatime API key

Super fiddly

Still doesn't work 🤔

from c9-wakatime.

spences10 avatar spences10 commented on June 8, 2024

Thanks for this @alanhamlett, couple of things

After following the instructions I'm not prompted for the API key, this is after a refresh and restart, don't know where to go from here, there is a .wakatime.cfg file that has appeared in the same folder as the c9-wakatime.git repo

Do we have to keep the editor in debug mode or can we switch back?

from c9-wakatime.

Related Issues (10)

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.