A collection of resources for learning the science of deduction 😜.
A Sherlock fan-based blogging site.
- Golang
- Docker (Optional but recommended)
- Postgresql (Only if you are not using
docker
)
To get started, you can clone the repository and run the following commands:
git clone https://github.com/mrinjamul/the-science-of-deduction.git
To install the dependencies, run the following commands:
cd the-science-of-deduction
go mod download
Copy environment variables file and replace the values with your own.
cp .env.example .env
To run the application, run the following commands:
export $(cat .env | xargs)
go build
./the-science-of-deduction
To build the application (production), run the following commands:
go build
export $(cat .env | xargs)
./the-science-of-deduction
To start with logging into file,
(./the-science-of-deduction 2>&1 ) |& tee "output-$(date -I)-$RANDOM.log"
- open sourced under the MIT license