A fullstack solution to host your own git repositories.
- Web frontend (NextJS)
- Private API (Typescript)
- Git service (Typescript)
PostgreSQL and Redis are required.
$ git clone https://github.com/oda404/gity-fullstack
$ cd gity-fullstack/server/core
$ ./create-configs.sh
This will set up the default configs in /etc/gity/
, which you will need to edit.
Jump to Configs to see which files need to updated.
$ ./pg-init.sh
This will setup the PostgreSQL databases, tables and users.
The following files and fields need updated based on your setup:
- hostname (Host of the web frontend)
- hostname (Host of the redis server)
- port
- port (The port you want to start the Private API on)
- hostname (Host of the PostgreSQL server)
- port
- usersRootDir (The directory where all the users and their repositories will be stored)
- port (The port you want to start the Git Service on)