Official web application built for the Astrophysics Data System and its API.
You will need to have Docker installed to run the development server. Get Docker
# 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
$ grunt setup
# start the server
$ ./server
You should then be able to access the application locally at http://localhost:8000
.
Create a src/config/discovery.vars.js
file, based on discovery.vars.js.default
.
$ grunt release
# full build will be in dist/ directory
# point the dev server to there:
$ ./server dist
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