Coder Social home page Coder Social logo

gitea_test's Introduction

Gitea

Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.

Requirements

You must install ansible and vagrant on your host

Ansible:

For RHEL:
$ sudo yum -y install ansible
For Debian/Ubuntu:
$ sudo apt install -y ansible vagrant 

Vagrant:

Visit https://www.vagrantup.com/docs/installation for installation guide.

Installation

Clone repository:

$ git clone https://github.com/Ominous48/gitea_test.git
$ cd gitea_test

Change playbook vars in vars.yml file if u need. If u want use sqlite3 DB instead PostgeSQL, change gitea_db_type: postgres to sqplite3:

$ sed -i 's/gitea_db_type.*/gitea_db_type: sqlite3/g' vars.yml

If you don't want install PostgreSQL and want to use your own installed postgreSQL, change postgres_manual_setup: false to true:

$ sed -i 's/postgres_manual_setup.*/postgres_manual_setup: true/g' vars.yml

Now vagrant up your virtual environment:

$ vagrant up

After VM up, vagrant will use ansible provisioner to install gitea and postgresql(if u set postgresql variable in vars.yml) Default IP adress and port for gitea: 192.168.33.10:3000

Go to the web browser and enter: http://192.168.33.10:3000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.