It's Buffer for Twitter names.
Make sure you have Stack installed. On OS X, you can do
brew install haskell-stack.
Running the server
foreman start -f Procfile.local
This will start Yesod and tell Sass to recompile the CSS whenever a file in
Now visit http://localhost:3000.
Running a task
To update all of the unsent profiles scheduled for today:
stack exec todays-profiles
To update all of the profiles, regardless of when they're scheduled or whether they've been sent:
stack exec all-profiles
all-profiles is meant to be used for local testing.
Adding a new executable
If you add a new
stack build so that you
can run it with
stack exec new-executable.
- In a separate terminal, run
sass --watch sass:static/css
- Edit files under
- Commit both the Sass files and the generated CSS files
If you add a new file in
touch Settings/StaticFiles.hs to have
Yesod pick up the routes for the new files.
To deploy to staging:
To deploy to production: