Bumps [activesupport](https://github.com/rails/rails) from 7.0.2.3 to 7.0.4.1. - [Release notes](https://github.com/rails/rails/releases) - [Changelog](https://github.com/rails/rails/blob/v7.0.4.1/activesupport/CHANGELOG.md) - [Commits](https://github.com/rails/rails/compare/v7.0.2.3...v7.0.4.1) --- updated-dependencies: - dependency-name: activesupport dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
InvenTree website
This project contains the source for InvenTree's website. It is built on Jekyll and GitHub pages for backend / hosting and tailtwindcss for frontend.
Architecture
The website consists of content, layouts and assets. Jekyll runs and builds out of these files static html files - that are then hosted on GitHub pages. Folders with an underscore prefixed are internal folders for Jekyll, folders without are rendered as subdirectories in the output.
Content:
_data
contains data that is references on pages
_drafts
contains drafts for blog pages and news items
_news
contains news entries
_posts
contains blog entries
_publishers
contains authors/publishers
_repo
will contain plugin repo entries
Layouts:
_includes
contains partials that can be used in layouts
_layouts
contains the page defintions
Assets:
assets
contains static assets for the pages
The site configuration is saved in config.yaml
, required gems in Gemfile
and npm packages in package.json
.
The CSS stylesheet uses tailwindcss and is built with postcss on demand. NodeJs is needed for this. The main css file is located in assets/index.css
. Rebuilds are handled by the workflows automatically.
Common commands
Install packages for ruby and nodejs.
sudo apt-get install rubygems ruby-dev nodejs npm
npm install
sudo gem install bundler
bundle install
Build site locally
bundle exec jekyll build
Run debug server
bundle exec jekyll serve --incremental
Regenerate file structure
tree -I '_site|.git|.jekyll-cache|node_modules' --dirsfirst