Skip to content

adsabs/bumblebee

Repository files navigation

Build Status Coverage Status

bumblebee

Official web application built for the Astrophysics Data System and its API.

Development

You will need to have Docker installed to run the development server. Get Docker

Installation

# fork and/or clone repo
$ git clone git@github.com:adsabs/bumblebee.git

# initialize submodule
$ git submodule update --init

# install assets
$ npm install -g grunt-cli
$ npm install

# start the server
$ npm run dev

You should then be able to access the application locally at http://localhost:8000.

Configuration

Create a src/config/discovery.vars.js file, based on discovery.vars.js.default.

Building

$ npm run release
# full build will be in dist/ directory
# point the dev server to there:
$ npm start

Testing

Note! There is a separate server for testing, you'll need to first stop the dev server then start the testing server: grunt server.

During testing, you can add debugger statements and use mocha's only to isolate a test when running in debug mode.

# Run everything
$ npm run test

# Run with puppeteer window open
$ npm run test:debug

Documentation