๐Ÿ“ฆ antongolub / enw

Elasticnode widget

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/antongolub/enw.git
HTTPS git clone https://github.com/antongolub/enw.git
SSH git clone git@github.com:antongolub/enw.git
CLI gh repo clone antongolub/enw
Anton Golub Anton Golub Rebuild bee8931 11 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ client
๐Ÿ“ server
๐Ÿ“„ .bowerrc
๐Ÿ“„ .coveralls.yml
๐Ÿ“„ .gitignore
๐Ÿ“„ .travis.yml
๐Ÿ“„ bower.json
๐Ÿ“„ Gruntfile.js
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ README.md

#Elasticnode widget Build Status Coverage Status Dependency Status devDependency Status

The easiest way to show *.elasticnode.ru content on any other site is to attach a widget. Below's an example how to deal with it. ENW uses original SPA libraries and components with minor differences, so it's a bit heavy.

Demo, Jsfiddle

===

  • Clone from git
  • Install bower components ``project/client/src> bower install%%CODEBLOCK0%%project/server> npm i` (istanbul and karma need to be installed with -g flag) * Run http-server `project> node server/src/init.js%%CODEBLOCK1%%project/client> karma start karma.conf.js%%CODEBLOCK2%%project/client/docs> sh buildDocs.sh`` or
project/client> jsdoc src/js -r -c jsdoc.conf.json -d docs/jsdoc
project/client> docco src/js/app/*.js src/js/app/**/*.js -o docs/docco

Build project with r.js

project> node node_modules/requirejs/bin/r.js -o client/src/build.js
project> node node_modules/requirejs/bin/r.js -o client/src/build-cdn.js
project> node node_modules/requirejs/bin/r.js -o client/src/build-singlefile.js

Documentation

Service description (ru), API documentation (ru), jsdoc, docco

Test reports

coverage/), unittest/)

r.js builds

compressed, cdn-based, singlefile