Skip to content

UW-Macrostrat/rockd-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rockd website

This is the code for Version 1 of Rockd's website. It is a collection of flat HTML files, with some CSS, JS, and image assets.

As of mid-2023, we're working on an updated Version 2 that uses Macrostrat's in-development web component libraries and adheres to modern development approaches.

The web-app directory contains an older version of Rockd's Ionic "Progressive Web App" (PWA) codebase.

There is a companion trips viewer that shows maps for all trips.

To run a development server, simply start a file server, e.g.:

python3 -m http.server

and navigate to localhost:8000 in your browser.

Rockd Trips

A viewer for Rockd trips

Getting started

Install dependencies with npm install

Rename src/js/Constants.js.example to src/js/Constants.js and add your variables

Scripts

  • npm run build - Run webpack and babel
  • npm run pack - Run webpack using the config file webpack.config.js
  • npm run babel - Run babel
  • npm start - Start the express server