Skip to content

Ankumeah/SourceFlameBackend

Repository files navigation

SourceFlameBackend

SourceFlame is a currently work in progress git hosting platform, this is the backend for it written in golang go-tests

How to run

Warning

This repo is a Work in progress and has just recently reached a barely working version, try at your own risk

Note

This repo only contains the code for a backend, while you can use this on its own if you are willing to interact with it through raw urls, you probably want to install a frontend for it, the frontend can be found here Work in progress

With docker compose

Note

A new dir called data/ will appear in the project containing the data created by the project

Note

Currently we ship support for postgres and sqlite3 out of the box, out of these sqlite3 is the default option when running with docker compose, while for any use case involveing docker copmose, sqlite3 is recommended, if you wish to switch to postgres have a look at docker-compose.yaml

  • Clone and cd in the repo: git clone https://github.com/Ankumeah/SourceFlameBackend && cd SourceFlameBackend
  • Change the secrets in ./env.d.example/ to your likeing (VERY IMPORTANT)
  • Start docker compose: docker compose up -d

With kustomize

Read here

How to use

openapi.yaml

Quick cheatsheet

About

SourceFlame is a currently work in progress git hosting platform, this is the backend for it written in golang

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Contributors