Skip to content

CatSkald/legendary-creatures

Repository files navigation

Legendary Creatures and Fabulous Beasts

legendary-creatures.github.io

License: MIT License: CC BY-SA 4.0

Framework: Gatsby CMS: Forestry

Local Development

Prerequisites

npm Yarn Gatsby CLI

Setup

  • Clone the repository: git clone ...
  • Add upstream to the production environment (only if you need to release to prod): git remote add upstream ...
  • Install the project dependencies by running yarn in the root folder

Run

  • Build: yarn build
  • Run website locally: yarn start
  • Run CMS locally: yarn serve
  • Deploy: yarn deploy
  • Fix vulnerabilities: npx yarn-audit-fix && yarn dedupe
  • Upgrade packages: yarn up "*" "@*/*" && yarn dedupe

Debug

The launch.json contains the setup for Visual Studio Code. Just run the app (yarn develop) and choose Debug in Chrome from the debug menu.

Local URLs

Thanks

About

Resources

License

Stars

Watchers

Forks