Skip to content

The Science of Deduction: A Sherlock fan-based blogging site.

License

Notifications You must be signed in to change notification settings

mrinjamul/the-science-of-deduction

Repository files navigation

logo

the-science-of-deduction

A collection of resources for learning the science of deduction 😜.
A Sherlock fan-based blogging site. screenshot

Requirements

Development

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"

License