An open API service indexing awesome lists of open source software.

https://github.com/cdeil/web-experiments

Playground for web pages and apps for gamma-ray data
https://github.com/cdeil/web-experiments

Last synced: about 1 year ago
JSON representation

Playground for web pages and apps for gamma-ray data

Awesome Lists containing this project

README

          

# Web Experiments

## Prerequisites

* Node.js version 0.10.0 or newer
* Install jspm, eslint, gulp globally

```
npm install -g jspm
npm install -g eslint
npm install -g gulp

```

## Installation

To run locally for development.

1. run `npm install`
2. run `jspm install`

## Running

1. Start a local server, e.g. `python -m SimpleHTTPServer`
2. Incase you want auto reload install live-server `npm install -g live-server` and run `live-server ./`

## Deploying

To bundle the web app

1. run `gulp bundle`, to bundle the app into build folder
2. Either serve `build` folder locally.
3. Or deploy it to gh-pages by running `gulp deploy`.

### Directory Structure

```
├─── .publish
├─── app/
│ ├─── components/
│ │ ├─── response/
│ │ └───
│ ├─── App.js
│ ├─── index.js
│ └───
├─── build/
├─── data/
├─── fit_dump.py
├─── Gulpfile.babel.js
├─── index.html
└─── README.md

```

## .publish

This directory is used by gh-pages plugin to temporarily store data and publish to gh-pages branch of github.

## app

This is where the entire application logic resides.

## build

This directory contains the minfied source code for production deployment.

## data

This is where JSON files will be stored for reading.