forked from andonome/lk
		
	add arch gitea install
This commit is contained in:
		
							
								
								
									
										9
									
								
								distros/arch/scripts/gitea_install.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								distros/arch/scripts/gitea_install.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| #!/bin/sh | ||||
| pacman -S gitea postgresql | ||||
| sudo su postgres -c 'initdb -D /var/lib/postgres/data' | ||||
| sudo systemctl start postgresql | ||||
| sudo su postgres -c 'createuser -P gitea' | ||||
| sudo su postgres -c 'createdb -O gitea gitea' | ||||
| sudo sed -i 's/mysql/postgres/' /etc/gitea/app.ini | ||||
| sudo sed -i 's/root/gitea/' /etc/gitea/app.ini | ||||
| sudo systemctl start gitea | ||||
		Reference in New Issue
	
	Block a user