"Make every detail perfect and limit the number of details to perfect."
— Jack Dorsey
Dead simple hosting for markdown notes.
- Install
dep
using Homebrew and run it inside project to install the dependencies:dep ensure
. - Create a data base by running
make db
. - Run the app with
make run
.
- For emailing of report abuse:
SMTP_SERVER
:SMTP_USER
SMTP_PASSWORD
NOTEHUB_ADMIN_EMAIL
- Recaptcha secret:
RECAPTCHA_SECRET
- Test mode:
TEST_MODE
(expected to be non-empty; skips captcha, no writes buffering for stats)
- Install
frisby
:go get -u github.com/verdverm/frisby
. - Run
make tests