This is source code behind Trailmix, a private place to write.
Every day, Trailmix sends you an email asking how your day went. Simply reply to that email, and a journal entry is created.
To encourage you to write, and to provide a delightful reminiscence, each prompt email contains a previous entry chosen at random.
This source code is very much provided as-is.
We hope you find it useful to see the source code behind a production application that real people are paying for.
You are welcome to do what you like with this code, including running your own instance of it. However, please know that our development time is limited, so we're unable to spend time helping you make it work.
Our goal is to keep the functionality of this app very focused. Please ask before opening a pull to add features.
That said, if you find a bug, please do open an issue!
After you have cloned this repo, run this setup script to set up your machine with the necessary dependencies to run and test this app:
% ./bin/setup
The script also assumes you have a machine equipped with Ruby, Postgres, etc. If not, set up your machine with this script.
After setting up, you can run the application using foreman:
% foreman start
If you don't have foreman
, see Foreman's install instructions. It
is purposefully excluded from the project's Gemfile
.
Use the following guides for getting things done, programming well, and programming in style.