Release v1.0.0
This release for Tick includes embedded migrations and a configuration file workflow for setting the database. There is no longer a need to set a DATABASE_URL
environment file to use Tick. Tick will read from a config.yaml
file located at ~/.config/tick/
. For now, this configuration file is not configurable. Before starting Tick for the first time, create a ~/.config/tick
directory and place a config.yaml
file with a key of database_path
set to where the SQLite database will be stored.
Setting up the configuration file and database directory
# Setup your Tock configuration file
>_ mkdir -p ~/.config/tick
>_ echo "database_path: ${_}/main.db" > "${_}/config.yaml"
Build the project from source for your platform.
# Clone the repository.
>_ git clone https://github.com/rogeruiz/tick.git
>_ cd tick
# Build the release.
>_ cargo build --release
# Install in your path.
>_ cp ./target/release/tick /usr/local/bin/tick
Happy time-keeping! 🕙