https://github.com/leongaban/tickertags-dashboard
The TickerTags Dashboard
https://github.com/leongaban/tickertags-dashboard
angularjs gulp javascript sass webpack
Last synced: 3 months ago
JSON representation
The TickerTags Dashboard
- Host: GitHub
- URL: https://github.com/leongaban/tickertags-dashboard
- Owner: leongaban
- Created: 2017-07-16T23:16:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-16T23:21:06.000Z (almost 9 years ago)
- Last Synced: 2025-10-09T14:44:03.285Z (9 months ago)
- Topics: angularjs, gulp, javascript, sass, webpack
- Language: JavaScript
- Size: 15.8 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The TickerTags dashboard app
================
TickerTags.com | All change is detectable.
### After cloning
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)
### Create deployable build
$ V=patch gulp build ie: V= `major` for 1.x.x, `minor` for x.1.x or `patch` for x.x.1
### For production
V=patch gulp build-prod
Creates deployable build folder.
### Testing
Karma / Mochai / Chai Tests in `test` dir
`$ npm test` Runs the tests
Note: Tests are not complete and need to be refactored
### Alert Testing localhost
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
```
