Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app
scripts
spec
tasks/options
.eslintignore
.eslintrc.js
.eslintrc.json
.gitignore
.jscs.json
.jshintrc
Dockerfile-dev
Gruntfile.js
README.md
karma.conf.js
package.json
protractor-conf.js
superdesk.config.js
test-main.js
webpack.config.js

README.md

Liveblog Client

Liveblog Client is a javascript client for Liveblog REST API server.

Setup

Client requires nodejs installed and a few steps:

npm install -g grunt-cli
npm install # install other node dependencies

After you can start local dev server on port 9000:

grunt server

Running with docker

This also will start frontend on localhost:9000. Change http://localhost:5000 to an actual backend server.

docker build -t liveblog-client:devel ./
docker run -i -p 9000:9000 -t liveblog-client:devel grunt server --server=http://localhost:5000 --force

Also u can start it with default parameters using vagrant:

vagrant up --provider=docker

Info for contributors

Commit messages

Every commit has to have a meaningful commit message in form:

Title
[<empty line>
Description]
[<empty line>
JIRA ref]

Where JIRA ref is at least Issue code eg. LBSD-13.

For trivial changes you can ommit JIRA ref or Description or both: Fix typo in liveblog.translate docs.

CI

You can test your code before sending a PR via: grunt ci