gitea_customization/README.md

1.2 KiB

Opening Design Gitea Customization

Gitea instance customization files

Installation

The components of the repository are mapped onto the Opening Design Gitea instance using the customizing Gitea instructions:

  • the templates folder is mapped to $GITEA_CUSTOM/templates/custom/
  • the images contents is mapped into $GITEA_CUSTOM/public/img
  • the css/dist contents is mapped into $GITEA_CUSTOM/public/css/

Development

The source is hosted on Gitea and uses prettier, lint-staged and husky to keep things pretty. As such, when you first clone the repository, as well as installing the npm dependencies, you will also need to install husky.

# Install NPM dependencies
npm install
# Set up husky Git hooks stored in .husky
npx husky install