开源软件名称(OpenSource Name):chmllr/notehub
开源软件地址(OpenSource Url):https://github.com/chmllr/notehub
开源编程语言(OpenSource Language):
Go
68.3%
开源软件介绍(OpenSource Introduction):README
"Make every detail perfect and limit the number of details to perfect."
— Jack Dorsey
About
Dead simple hosting for markdown notes.
Running
- 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 .
ENV variables used:
- For emailing of report abuse:
SMTP_SERVER :
SMTP_USER
SMTP_PASSWORD
NOTEHUB_ADMIN_EMAIL
- 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
|
请发表评论