docbrown/docs/helpful-hints.md
2019-04-19 16:05:13 -04:00

17 lines
616 B
Markdown

This is random collection of development hints and gotchas that we've run into in the past.
## Previewing emails in development
You can modify the test in `/test/mailers/previews`
You can view the previews at (for example) `http://localhost:3000/rails/mailers/notify_mailer/new_reply_email`
## Previewing these docs in development
0. Make sure you are at the base of the repository
1. Install gitdocs `npm install -g gitdocs@next`
1. Serve it `gitdocs serve`
1. Visit `http://localhost:8000`
## Caching
- [DEV Notes: Don't Forget To Clear Cache!](https://dev.to/jess/dev-notes-don-t-forget-to-clear-cache-962)