Code Monkey home page Code Monkey logo

inspirehep-js-1's Introduction

Inspirehep-Js

Build Status Coverage LICENSE

Inspirehep Angular JS module used in http://labs.inspirehep.net.

Installation

$ npm i

Tests

$ npm test

How to use?

Check out the example/ to see how to configure your app.

How to develop?

For easy development of inspirehep-js on top of inspire-next follow these steps:

  1. Fork this repo and clone your personal fork.

    $ cd $VIRTUAL_ENV/src $ git clone [email protected]:/inspirehep-js.git

  2. Set ASSETS_DEBUG=True in your configuration.

    $ vim $VIRTUAL_ENV/var/inspirehep-instance/inspirehep.cfg

  3. If you want to make sure all your assets are correctly installed in $VIRTUAL_ENV/var/inspirehep-instance/static, do:

    $ cd $VIRTUAL_ENV/src/inspire $ ./scripts/clean_assets

  4. Now create a symbolic link from the dist/ folder in your development folder to the instance folder.

    $ rm -rf $VIRTUAL_ENV/var/inspirehep-instance/static/node_modules/inspirehep-js/dist $ ln -s $VIRTUAL_ENV/src/inspirehep-js/dist/ $VIRTUAL_ENV/var/inspirehep-instance/static/node_modules/inspirehep-js/

  5. Start watching changes in the inspirehep-search-js folder. Every time a JS or HTML file is modified, tests will run and the dist/ folder will be recreated.

    $ cd $VIRTUAL_ENV/src/inspirehep-js $ npm install $ gulp watch

  6. Every time you modify a JavaScript or HTML template, hard refresh your browser to avoid caching and see your changes.

inspirehep-js-1's People

Contributors

jmartinm avatar ioannistsanaktsidis avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.