2019-08-13 11:32:06 +02:00
|
|
|
# unitoo-site
|
|
|
|
|
2021-06-15 14:01:04 +02:00
|
|
|
New Unitoo website based on Jekyll
|
|
|
|
|
|
|
|
## How to contribute
|
|
|
|
|
|
|
|
### Start dev server
|
|
|
|
|
|
|
|
`bundle exec jekyll serve` and go to `localhost:4000`
|
|
|
|
|
|
|
|
### Build for production
|
|
|
|
|
|
|
|
1. Generate tags
|
|
|
|
`python3 tag-generator.py`
|
2022-07-01 14:07:01 +02:00
|
|
|
|
|
|
|
2. Update language for tags titles
|
2021-06-15 14:01:04 +02:00
|
|
|
|
2022-07-01 14:07:01 +02:00
|
|
|
3. Build Jekyll
|
2021-06-15 14:01:04 +02:00
|
|
|
`JEKYLL_BUILD=production bundle exec jekyll build`
|
2023-12-26 08:29:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
## Build image
|
|
|
|
|
2023-12-26 08:48:25 +01:00
|
|
|
`docker buildx build --platform linux/arm64,linux/amd64 -t unitoo/website --push .`
|