10de6ac722a7949ea39554ab0afe6393e8a9b2c1
README
"Make every detail perfect and limit the number of details to perfect."
— Jack Dorsey
About
Dead simple hosting for markdown notes.
Running
- Install
depusing 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.
ENV variables used:
- For emailing of report abuse:
SMTP_SERVER:SMTP_USERSMTP_PASSWORDNOTEHUB_ADMIN_EMAIL
- Recaptcha secret:
RECAPTCHA_SECRET
- Test mode:
TEST_MODE(expected to be non-empty; skips captcha, no writes buffering for stats)
Testing
- Install
frisby:go get -u github.com/verdverm/frisby. - Run
make tests
Languages
JavaScript
84.7%
HTML
8.3%
Go
5.2%
CSS
1.6%
Makefile
0.1%
Other
0.1%