Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 1.26 KB

README.md

File metadata and controls

65 lines (51 loc) · 1.26 KB

neostocks

Build Status codecov

neostocks is a real-time dashboard for the Neopets Stock Market, similar to the former NeoDaq.com (RIP).

Getting Started

Prerequisites

Installation

Clone the repo:

git clone https://github.com/glin/neostocks
cd neostocks/

Install the R package:

# install.packages("devtools")
devtools::install()

Build the UI:

npm install
npm run build

Running

shiny::runApp()

To use custom stock data, set the NEOSTOCKS_DATA_FILE environment variable:

# .Renviron
NEOSTOCKS_DATA_FILE=/path/to/neostocks.csv

Development

Build the UI for development:

npm run dev
npm run dev:watch  # rebuild on changes

Run UI tests:

npm test
npm run test:cover  # with coverage
npm run test:watch  # rerun on changes

Run R tests:

devtools::test()

License

MIT