mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
35 lines
613 B
Markdown
35 lines
613 B
Markdown
# InvenTree home website
|
|
This project contains the source for the new InvenTree website.
|
|
It is built on Jekyll and GitHub pages for backend / hosting and tailtwindcss for frontend.
|
|
|
|
## File structure
|
|
|
|
State as of ###.
|
|
``` bash
|
|
|
|
```
|
|
|
|
## 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
|
|
```
|