Skip to content

UW-Macrostrat/rockd-website

Repository files navigation

Rockd website

This is the code for Version 2 of Rockd's website, which replaced the large repository of flat HTML, CSS, some JS and images. It is a collection of TS files and references to an S3 bucket holding images.

The new website also contains an updated version of trips viewer that shows maps for all trips.

Installation for local development

  1. Clone the repository
  2. Create and populate a .env file with the appropriate environment variables (See .env.example for more information.)
  3. Verify that you have access to recent versions of Node.js and the Yarn package manager ( node >= 16.0.0 and yarn >= 4.0.0; run node -v and yarn -v to check)
  4. Run make (or yarn install) to pull down submodules and update packages
  5. Start the live-reloading development server with yarn run dev. The server will be available at http://localhost:3000 by default.

Publishing

  • Commit all changes and merge to main (optional). Update the package.json version to the desired number.
  • Run make publish to sync the package.json version to a git tag
  • Push the tag to GitHub, which should kick off CI to build and publish to OSG Harbor.

About

Main website for Rockd

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8