[PR #3] [MERGED] make path to database configurable #487

Closed
opened 2026-02-25 23:34:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/3
Author: @sascha-andres
Created: 3/1/2018
Status: Merged
Merged: 3/5/2018
Merged by: @RadhiFadlillah

Base: masterHead: feature/db-path-config


📝 Commits (4)

  • 168b623 feat(database): make path to database configurable
  • 1ae90b7 docs: document environment variable
  • c208894 Move opening database to main file
  • 4f2cd21 Update readme

📊 Changes

4 files changed (+18 additions, -5 deletions)

View changed files

📝 README.md (+5 -0)
📝 cmd/root.go (+3 -2)
📝 database/sqlite.go (+2 -2)
📝 main.go (+8 -1)

📄 Description

By setting an environment variable to a path to the database you can store your db where ever you want


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-shiori/shiori/pull/3 **Author:** [@sascha-andres](https://github.com/sascha-andres) **Created:** 3/1/2018 **Status:** ✅ Merged **Merged:** 3/5/2018 **Merged by:** [@RadhiFadlillah](https://github.com/RadhiFadlillah) **Base:** `master` ← **Head:** `feature/db-path-config` --- ### 📝 Commits (4) - [`168b623`](https://github.com/go-shiori/shiori/commit/168b623985c6e5bb1e7f39cafcf27a8ef0cb16ef) feat(database): make path to database configurable - [`1ae90b7`](https://github.com/go-shiori/shiori/commit/1ae90b74593e0db68ef65da14a19808ed63ff972) docs: document environment variable - [`c208894`](https://github.com/go-shiori/shiori/commit/c208894bb6e9baa60a803ced27395ae9bc337c3e) Move opening database to main file - [`4f2cd21`](https://github.com/go-shiori/shiori/commit/4f2cd21ddaef8bb69859c416052208350ff4ca24) Update readme ### 📊 Changes **4 files changed** (+18 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -0) 📝 `cmd/root.go` (+3 -2) 📝 `database/sqlite.go` (+2 -2) 📝 `main.go` (+8 -1) </details> ### 📄 Description By setting an environment variable to a path to the database you can store your db where ever you want --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#487
No description provided.