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.
- Clone the repository
- Create and populate a
.envfile with the appropriate environment variables (See.env.examplefor more information.) - Verify that you have access to recent versions of Node.js and the Yarn package manager (
node >= 16.0.0andyarn >= 4.0.0; runnode -vandyarn -vto check) - Run
make(oryarn install) to pull down submodules and update packages - Start the live-reloading development server with
yarn run dev. The server will be available athttp://localhost:3000by default.
- Commit all changes and merge to
main(optional). Update the package.json version to the desired number. - Run
make publishto sync thepackage.jsonversion to a git tag - Push the tag to GitHub, which should kick off CI to build and publish to OSG Harbor.