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 [email protected]:adsabs/bumblebee.git

# initialize submodule
$ git submodule update --init

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

# start the server
$ ./server

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

$ grunt release
# full build will be in dist/ directory
# point the dev server to there:
$ ./server dist

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
$ grunt test

# Run with puppeteer window open
$ grunt test:debug

Documentation