Giter Site home page Giter Site logo

graeme0811 / stravistix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thomaschampagne/elevate

0.0 1.0 0.0 6.39 MB

Chrome/Opera extension adding features for Strava website with new performances data and improved ergonomics. Options made with AngularJS

Home Page: http://thomaschampagne.github.io/stravistix/

License: GNU General Public License v2.0

JavaScript 87.12% CSS 0.47% HTML 12.41%

stravistix's Introduction

Stories in Ready Join the chat at https://gitter.im/thomaschampagne/stravistix 1/ Install StravistiX from Chrome Store

Go to http://thomaschampagne.github.io/stravistix/

2/ Install from sources

2.1/ Install NodeJS with node package manager

You must run npm cli command via nodejs.org to fetch JS dependencies.

2.2/ Install Gulp task runner via node package manager

Skip this step if you already have global gulp-cli on your computer.

npm install --global gulp-cli

2.3/ Install gulp plugins dependencies

npm install

This will install required gulp plugins in order to run project tasks. Gulp plugins are specified into ./package.json file as devDependencies

2.4/ Build the project

gulp build

First, this will download others JS dependencies (underscore, angularjs, chart.js, ...) specified in hook/extension/package.json file if not already downloaded.

Next, all the extensions files from hook/extension/ will be copied to dist/ folder.

2.5/ Loading the extension

You can now load extension from chrome://extensions chrome tab:

  • In chrome, open new tab and type chrome://extensions then enter
  • Tick Developer Mode checkbox
  • Click Load Unpacked Extension button, then choose dist/ folder (this is where you have manifest.json file)
  • Done !

3/ How to develop in ?

3.1/ Making changes and view them

Development must be done inside hook/extension/ folder.

In chrome, use dist/ folder as Unpacked Extension for development

To apply files changes from hook/extension/ to dist/ you must run the build command:

gulp build

To save time, you can automatically copy files changes from hook/extension/ to dist/ using watch command:

gulp watch

3.2/ Create a package archive

gulp package

This will create zip archive of dist/ folder in package/StravistiX_vX.X.X_[date].zip

3.3/ Clean the project

gulp clean

This will clean dist/, package/ & hook/extension/node_modules/ folders

4/ Code Editor and Indentation plugin used

I used Atom editor with atom-beautify plugin for code indentation.

My Atom plugin list ;)

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.