1
0
Fork 0
forked from ilot/ilot-io
ilot.io/README.md

71 lines
2 KiB
Markdown
Raw Normal View History

2024-06-18 12:00:41 -04:00
# ilot.io
Upstream: https://lab.ilot.io/ilot/ilot.io
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
![Build Status](https://lab.ilot.io/ilot/ilot.io/badges/main/pipeline.svg)
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
## Description
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
This repository contains the source code to the [ilot.io](https://ilot.io)
website.
2024-06-14 14:22:59 -04:00
## GitLab CI
This project's static Pages are built by [GitLab CI][ci], following the steps
defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
2024-06-18 12:00:41 -04:00
We are using a theme based on
[Bootstrap 3](https://lab.ilot.io/ilot/ikiwiki-bootstrap-ilot) using submodules.
2024-06-14 14:22:59 -04:00
## Building locally
To work locally with this project, you'll have to follow the steps below:
1. Fork, clone or download this project
2024-06-18 12:00:41 -04:00
1. Install ikiwiki:
* [mac][]
* [linux][]
* [source][]
2024-06-14 14:22:59 -04:00
1. Clone the submodules: `git submodule init && git submodule update`
2024-06-18 12:00:41 -04:00
1. Generate the website: `ikiwiki --setup ikiwiki.setup`
2024-06-18 21:14:15 -04:00
1. Start http-server: `./test-server.sh`
2024-06-14 14:22:59 -04:00
Read more at ikiwiki's [documentation][].
2024-06-18 12:00:41 -04:00
## Contributing
1. Fork the main ilot.io repo.
2. Checkout the forked repository.
- `git clone ssh://git@lab.ilot.io/$USER/ilot.io`
- `cd ilot.io`
3. Make your changes.
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
4. Do local build.
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
- `ikiwiki --setup ikiwiki.setup`
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
5. Fix any errors that come up and rebuild until it works locally.
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
6. Commit the changes to the git repo in a git branch
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
- `git checkout -b <name>`
- `git add` changes
- `git commit -m 'content/index: descriptive description'`
- `git push`
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
7. Create a merge request with your changes by following link in server response.
2024-06-14 14:22:59 -04:00
2024-06-18 12:00:41 -04:00
8. Once the tests in the merge-request pass, and reviewers are happy, your changes
will be merged.
2024-06-14 14:22:59 -04:00
[ci]: https://about.gitlab.com/gitlab-ci/
[ikiwiki]: https://ikiwiki.info/
2024-06-18 12:00:41 -04:00
[source]: https://ikiwiki.info/install/
[linux]: https://ikiwiki.info/setup/
[mac]: https://ikiwiki.info/tips/ikiwiki_on_mac_os_x/
2024-06-14 14:22:59 -04:00
[documentation]: https://ikiwiki.info/
[userpages]: https://docs.gitlab.com/ce/user/project/pages/introduction.html#user-or-group-pages
[projpages]: https://docs.gitlab.com/ce/user/project/pages/introduction.html#project-pages