forked from ubuntu-kr/ubuntu-kr.github.io
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
204 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,82 @@ | ||
# ubuntu-kr.github.io | ||
# ubuntu-uk.github.io | ||
|
||
The new Website of Ubuntu UK Community. Built with [Hugo](https://gohugo.io) and vanillaframework.io | ||
|
||
## Ubuntu-UK LoCo Website repo | ||
|
||
This repo contains the content for the Ubuntu UK Local Community Team website. The goal is to have the content here hosted at https://ubuntu-uk.org/. Currently the site is at https://ubuntu-uk.github.io/website/ | ||
|
||
## Get involved | ||
|
||
We welcome contributions to improve the site! | ||
|
||
The site is built using [Hugo](https://gohugo.io/) and deployed with a [GitHub action](https://github.com/features/actions). | ||
|
||
### Install Hugo | ||
|
||
[Install](https://gohugo.io/installation/) Hugo using their documentation for [Linux](https://gohugo.io/installation/linux/), [Windows](https://gohugo.io/installation/windows/), [macOS](https://gohugo.io/installation/macos/), or [BSD](https://gohugo.io/installation/bsd/). | ||
|
||
You'll also need dart-sass-embedded, and vanilla framework. | ||
|
||
`sudo snap install dart-sass-embedded` | ||
|
||
`npm install vanilla-framework` | ||
|
||
### Get the code | ||
|
||
Fork the repo, then clone it to your local workstation. | ||
|
||
### Prototype | ||
|
||
Start hugo in the directory you cloned to. | ||
|
||
`hugo serve` | ||
|
||
You'll see output similar to the following: | ||
|
||
``` | ||
Watching for changes in /home/alan/Source/ubuntu-uk/ubuntu-uk.github.io/{archetypes,content,package.json,static,themes} | ||
Watching for config changes in /home/alan/Source/ubuntu-uk/ubuntu-uk.github.io/config.yaml, /home/alan/Source/ubuntu-uk/ubuntu-uk.github.io/go.mod | ||
Start building sites … | ||
hugo v0.119.0-b84644c008e0dc2c4b67bd69cccf87a41a03937e linux/amd64 BuildDate=2023-09-24T15:20:17Z VendorInfo=gohugoio | ||
| EN | ||
-------------------+----- | ||
Pages | 17 | ||
Paginator pages | 0 | ||
Non-page files | 19 | ||
Static files | 13 | ||
Processed images | 0 | ||
Aliases | 0 | ||
Sitemaps | 1 | ||
Cleaned | 0 | ||
Built in 620 ms | ||
Environment: "development" | ||
Serving pages from memory | ||
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender | ||
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1) | ||
Press Ctrl+C to stop | ||
``` | ||
|
||
### Visit site | ||
|
||
Visit [localhost:1313](https://localhost:1313) to view the site | ||
|
||
Hugo will update the site whenever files are changed, typically there's no need to refresh the page. | ||
|
||
The Hugo documentation can be found at [gohugo.io/documentation/](https://gohugo.io/documentation/). | ||
|
||
### Submit PR | ||
|
||
Push your changes to a pull request, where we can review and discuss the changes, prior to merging. | ||
|
||
## Code of Conduct | ||
|
||
Please respect the [Ubuntu Code of Conduct](https://ubuntu.com/community/ethos/code-of-conduct) when interacting with others in this repo. | ||
|
||
The new Website of Ubuntu Korea Community. Built with [Hugo](https://gohugo.io) and vanillaframework.io | ||
|
||
## License | ||
MIT License (See `LICENSE`) |
Oops, something went wrong.