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/22 06:21]
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>​ <​code>​
 # cat /​etc/​gitea/​app.ini # cat /​etc/​gitea/​app.ini
 +  или
 +# cat /​var/​snap/​gitea/​common/​conf/​app.ini
 +</​code><​code>​
 ... ...
 [service] [service]
-... 
 DISABLE_REGISTRATION ​             = true DISABLE_REGISTRATION ​             = true
 ... ...
 +[webhook]
 +ALLOWED_HOST_LIST = corpX.un, 192.168.0.0/​16
 </​code>​ </​code>​
  
Line 19: Line 42:
  
 <​code>​ <​code>​
-# curl http://192.168.13.106:3000/corp/​ansible-pull-gpo/​raw/​branch/​main/​start.sh | bash+# 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