Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrinjamul/the-science-of-deduction
The Science of Deduction: A Sherlock fan-based blogging site.
https://github.com/mrinjamul/the-science-of-deduction
blog blogging fan-based forum gin go mystery sherlock the-science-of-deduction
Last synced: about 1 month ago
JSON representation
The Science of Deduction: A Sherlock fan-based blogging site.
- Host: GitHub
- URL: https://github.com/mrinjamul/the-science-of-deduction
- Owner: mrinjamul
- License: mit
- Created: 2022-10-11T10:40:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-12T07:46:42.000Z (about 2 years ago)
- Last Synced: 2024-10-02T09:27:06.614Z (about 1 month ago)
- Topics: blog, blogging, fan-based, forum, gin, go, mystery, sherlock, the-science-of-deduction
- Language: Go
- Homepage:
- Size: 25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
the-science-of-deduction
A collection of resources for learning the science of deduction 😜.
A Sherlock fan-based blogging site.
## Requirements
- [Golang](https://golang.org/dl/)
- [Docker](https://docs.docker.com/get-docker/) (Optional but recommended)
- [Postgresql](https://www.postgresql.org/download/) (**Only if you are not using `docker`**)### Development
To get started, you can clone the repository and run the following commands:
```bash
git clone https://github.com/mrinjamul/the-science-of-deduction.git
```To install the dependencies, run the following commands:
```bash
cd the-science-of-deduction
go mod download
```Copy environment variables file and replace the values with your own.
```bash
cp .env.example .env
```To run the application, run the following commands:
```bash
export $(cat .env | xargs)
go build
./the-science-of-deduction
```To build the application (production), run the following commands:
```bash
go build
export $(cat .env | xargs)
./the-science-of-deduction
```To start with logging into file,
```sh
(./the-science-of-deduction 2>&1 ) |& tee "output-$(date -I)-$RANDOM.log"
```### License
- open sourced under the [MIT license](LICENSE)