Install Gitea version controll

General Discussions
Post Reply
imorghim
Posts: 1
Joined: Mon Nov 04, 2019 6:51 am

Install Gitea version controll

Post by imorghim » Mon Dec 30, 2019 11:48 am

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/
Last edited by imorghim on Mon Dec 30, 2019 12:32 pm, edited 1 time in total.

Post Reply