GithubHelp home page GithubHelp logo

rvanharen / frbcat-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trasal/frbcat-web

0.0 2.0 0.0 6.01 MB

FRBCat web

License: Apache License 2.0

JavaScript 86.83% CSS 12.22% HTML 0.96%

frbcat-web's Introduction

DOI

frbcat-web

This is the web frontend to the FRB Catalogue. This catalogue contains up to date information for the published population of Fast Radio Bursts (FRBs). The catalog connects to a postgres database, which is defined in the frbcatdb python package. For detailed information on the database format, see the frbcatdb package, or directly the create table script.

Configuration:

frbcat-web has two configuration files.

  • server/config.js

    This file contains the postgres connection string. Modify it to connect to your postgres installation and table. The connectionstring has the following format: 'postgres://someuser:somepassword@somehost:someport/somedatabase'

    This file also contains the URL to the static csv file that should be on the webpage.

  • server.js

    This file contains the express web server configuration. Here you can define the port the server is running on.

For further details on how to tune the express server for performance in a production environment see the expressjs homepage. This link contains information on how to set the NODE_ENV to production for different systems and how to make sure the server gets automatically restarted if it crashes.

Installation:

To install frbcat-web, please follow the following steps. First we need to install the dependencies of frbcat-web using the following commands:

  npm install

Next, we build the package using:

  npm run webpack

Running the express server with frbcat-web:

To start the express server with frbcat-web loaded use the following command:

  npm run start

frbcat-web's People

Contributors

jspaaks avatar

Watchers

James Cloos avatar Ronald van Haren 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.