TickerTags.com | All change is detectable.
Installs node dependencies gulp modules:
$ npm install
or yarn install
Installs bower frontend dependencies (Angular, es6, lodash etc):
$ bower install
Installs bower dependencies
Rebuild the frontend vendors file:
gulp build:vendors
Before editing SASS files you need to run gulp:
$ gulp
compiles SASS into CSS
To watch and build HTML and JavaScript modules you need to run webpack:
npm run dev
runs (webpack -w)
$ V=patch gulp build
ie: V= major
for 1.x.x, minor
for x.1.x or patch
for x.x.1
V=patch gulp build-prod
Creates deployable build folder.
Karma / Mochai / Chai Tests in test
dir
$ npm test
Runs the tests
Note: Tests are not complete and need to be refactored
Goto tickers directory $ python
>>> from hedge.dl.dm.alert import Alert
>>> alert = Alert.objects({})
>>> alerts = Alert.objects({})
>>> for alert in alerts:
... alert.approved = 0
... alert.save()
...
>>> alerts = Alert.objects({})
>>> for alert in alerts[0:100]:
... print alert.approved