You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| assets | 5 years ago | |
| .gitignore | 5 years ago | |
| Dockerfile | 5 years ago | |
| Gopkg.lock | 8 years ago | |
| Gopkg.toml | 8 years ago | |
| LICENSE | 10 years ago | |
| Makefile | 5 years ago | |
| README.md | 8 years ago | |
| docker-compose.yml | 5 years ago | |
| render.go | 5 years ago | |
| server.go | 5 years ago | |
| stats.go | 5 years ago | |
| storage.go | 5 years ago | |
README.md
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