This is the code powering the blog and website for Turnip, a time tracker for freelancers and small businesses.
turniptimer.com uses Gatsby. To run a local copy, clone the repo to your local machine, and start the Gatsby server:
npm start
That's it! You can now find the site at localhost:8000.
All changes you make to front-end React code and styles will immediately be loaded. Any changes to gatbsy-config.js
or gatsby-node.js
require restarting the Gatsby server.
All pull requests must pass the linter rules to be merged into master
. Tests are run against branches using GitHub Actions, but you can also run tests locally:
npm run lint
turniptimer.com uses the Nautilus design system under the hood. Since Nautilus is still very much under development, it's pulling from the latest changes made to the master
GitHub branch, rather than the published version.
To pull the latest changes, uninstall and reinstall the Nautilus dependency:
npm uninstall nautilus && npm install --save octopusthink/nautilus
Copyright (c) 2020 Octopus Think Ltd.
The source code is shared under a Creative Commons 4.0 Attribution-ShareAlike (CC-BY-SA-4.0) license. Basically this means you can use stuff that we've written on here if you attribute us and release your content under the same license—even for commercial purposes!
See the LICENSE.txt file for details.