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
# start the server
$ npm run dev
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
.
$ npm run release
# full build will be in dist/ directory
# point the dev server to there:
$ npm start
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