0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2024-12-21 23:03:13 -05:00
blender-projects-gitea-custom/README.md

51 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2023-01-24 08:29:21 -05:00
# Gitea Customization for Blender Developer Portal
## Setup
- Clone this repo in a `custom` folder at the root of your gitea install.
2023-01-27 04:22:03 -05:00
- Edit app.ini to set the following in the `[ui]` section:
2023-01-24 08:29:21 -05:00
- `DEFAULT_THEME = bthree-dark`
- `THEMES = bthree-dark`
2023-01-27 04:22:03 -05:00
- Run the gitea binary with the following arguments (or do the clone into Gitea's own `custom` directory, merging with your `conf` dir).
2023-01-24 08:29:21 -05:00
- --custom-path pointing to the repo directory
- --config pointing to the custom app.ini
2023-01-27 04:22:03 -05:00
- Update your user preferences to set the new theme, or it will keep showing the old one.
## Alternative setup with Docker
- Initialize `docker-compose.yml` following Gitea's [basic instructions](https://docs.gitea.com/installation/install-with-docker#basics).
- Install Gitea following Gitea's [installation instructions](https://docs.gitea.com/installation/install-with-docker#installation).
- Edit `app.ini` in `[Gitea's root]/conf` to append the following:
```
[ui]
DEFAULT_THEME = bthree-dark
THEMES = bthree-dark
```
(Docker Gitea's root directory defaults to `/gitea/gitea/` from installation root.)
- Clone this repository to Gitea's root directory, so that its contents are merged. (Gitea's _custom_ directory defaults to Gitea's root.)
Gitea's root flat directory tree should look similar to the following, if done correctly:
```
.
├── actions_artifacts
├── actions_log
├── attachments
├── avatars
├── conf
├── gitea.db
├── home
├── indexers
├── jwt
├── log
├── packages
├── public
├── queues
├── README.md
├── repo-archive
├── repo-avatars
├── sessions
├── sphinx
├── templates
└── tmp
```