Skip to content

Codesleuth/hackbot-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hackbot-dashboard Build Status

A dashboard for hack events run with Hackbot

View the dashboard

The dashboard can be viewed directly from this repository's gh-pages at https://codesleuth.github.io/hackbot-dashboard The code is currently customised for the upcoming Hack24 2017 event but will transition to a general dashboard soon.

Getting Started

The dashboard is a React app which requires building (bundling) before it is ready to host as static content.

Note: You will need Node.js installed.

  1. Clone

    git clone https://github.com/Codesleuth/hackbot-dashboard.git
    cd hackbot-dashboard
  2. Install dependencies

    npm install
  3. Run the webpack dev server

    npm run dev
  4. Browse to the site locally at: http://localhost:8080

Publishing

The site will build to the build/ directory with the following command:

npm run build

Publish the build/ directory wherever you like as static content.

Note: if using nginx, be sure to gzip the bundle and enable gzip_static for increased compression.

Contribute

  1. First, fork this repository to your own copy, then follow the steps above ensuring you clone your fork.
  2. Make whatever changes you like.
  3. Open a Pull Request!

License

GPL v2 - see the license file.