Page 1 of 1

Install Gitea version controll

Posted: Mon Dec 30, 2019 11:48 am
by imorghim
create database
>>

Code: Select all

sudo mysql -u root -p

Code: Select all

CREATE DATABASE gitea;
CREATE USER 'gitea'@'localhost' IDENTIFIED BY 'new_password_here';
GRANT ALL ON gitea.* TO 'gitea'@'localhost' IDENTIFIED BY 'user_password_here' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;
sudo wget -O gitea https://dl.gitea.io/gitea/1.5.0/gitea-1.5.0-linux-amd64 
sudo chmod +x gitea


then install go and git and run ;

Code: Select all

./gitea web
and this command to create initial user

Code: Select all

./gitea admin create-user --username username password --password password --admin --email email

features of gitea
https://docs.gitea.io/en-us/comparison/