User Tools

Site Tools


инструмент_gitea

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
инструмент_gitea [2023/02/19 20:04]
val
инструмент_gitea [2023/09/11 04:22]
val [Базовая]
Line 4: Line 4:
  
   * [[https://​docs.gitea.io/​en-us/​install-from-binary/​]]   * [[https://​docs.gitea.io/​en-us/​install-from-binary/​]]
 +
 +<​code>​
 +ubuntu# snap install gitea
 +
 +ubuntu# service snap.gitea.web status
 +</​code>​
 +
 +===== Подключение =====
 +
 +  * http://​server.corpX.un:​3000/​
 +
 +===== Настройка =====
 +
 +==== Базовая ====
 +<​code>​
 +Database Type: SQLite3
 +Administrator Account Settings:
 +  Administrator Username: student
 +  ...
 +</​code>​
 +
 +==== Файл конфигурации ====
 +<​code>​
 +# cat /​etc/​gitea/​app.ini
 +  или
 +# cat /​var/​snap/​gitea/​common/​conf/​app.ini
 +</​code><​code>​
 +...
 +[service]
 +DISABLE_REGISTRATION ​             = true
 +...
 +[webhook]
 +ALLOWED_HOST_LIST = corpX.un, 192.168.0.0/​16
 +</​code>​
  
 ===== Копирование отдельного файла из репозитория ===== ===== Копирование отдельного файла из репозитория =====
  
 <​code>​ <​code>​
-# curl http://192.168.13.106:3000/corp/​ansible-pull-gpo/​raw/​branch/​main/​start.sh+# curl http://gate.corpX.un:3000/student/​ansible-pull-gpo/​raw/​branch/​main/​start.sh ​| bash
 </​code>​ </​code>​
инструмент_gitea.txt · Last modified: 2023/10/24 12:14 by val