SourceBin makes sharing code easy by providing an easy to use pastebin service. This repository contains the core services of SourceBin. Feel free to report any issues and suggestions in this repository.
- Download or clone the repository
- Run
make .env
- Edit the configuration in the
.env
file - Run
make self-signed-cert dhparam
to generate local certificates - Run
make ENV=dev run
- Start developing
- Download or clone the repository
- Run
make .env
- Edit the configuration in the
.env
file - Run
make dhparam
to generate dhparam - Add SSL cert in
secrets/ssl/certs/cert.pem
andsecrets/ssl/private/key.pem
- Add Cloudflare Authenticated Origin Pull cert in
secrets/ssl/certs/cloudflare.crt
- Add Google Cloud Storage key in
secrets/google/cloud-storage-key.json
- Point domain to server
- Run
make start
While we try to open-source as much as possible, SourceBin is not made for self-hosting. We will not provide support for hosting your own instance.