pelican/README.asciidoc
Dan Anglin aae2d24594
All checks were successful
/ test (pull_request) Successful in 33s
/ lint (pull_request) Successful in 42s
fix(ui): improve the creating cards input modal
This commit improves the look, feel and functionality of the custom
modal that creates new cards on the board.

Changes:

- (BREAKING) The 'c' key is now used to create new cards.
- An extra field is added for adding the card's description.
- Improvements made to the styling of the modal.
- The fields are reset when the user finishes with the form.
2024-01-10 11:20:15 +00:00

92 lines
2.1 KiB
Text

= Pelican
:toc:
:toclevels: 1
:toc-title: Contents
== Overview
**This project is in ALPHA state and is not ready for production use yet.**
Pelican is a simple Kanban board for your terminal.
Data is stored in a https://github.com/etcd-io/bbolt[BoltDB] database.
Pelican does not make any assumptions to the path of the database file;
instead the user is expected to specify the path when running the application.
== Installation
=== Requirements
==== Go
A minimum version of Go 1.21.0 is required for installing spruce.
Please go https://go.dev/dl/[here] to download the latest version.
==== Mage (Optional)
The project includes a https://codeflow.dananglin.me.uk/apollo/pelican/src/branch/main/magefiles/mage.go[magefile]
for automating the build and installation of the binary.
You can visit the https://magefile.org[website] for instructions on how to install Mage.
=== Install with Mage
You can install pelican with Mage using the following commands:
[source,console]
----
git clone https://codeflow.dananglin.me.uk/apollo/pelican.git
cd pelican
mage install
----
The default install prefix is set to `/usr/local` so pelican will be installed to `/usr/local/bin/pelican`.
If you want to change the install prefix you can set the `PELICAN_INSTALL_PREFIX` environment variable
before installing.
[source,console]
----
PELICAN_INSTALL_PREFIX=~/.local mage install
----
=== Install with Go
If your `GOBIN` directory is included in your `PATH` then you can install Pelican with Go.
[source,console]
----
git clone https://codeflow.dananglin.me.uk/apollo/pelican.git
cd pelican
go install ./cmd/pelican
----
== Running Pelican
To create a new Kanban project with Pelican, simply run the following command:
[source,console]
----
pelican project.pelican
----
This will create a new BoltDB database file called `project.pelican` in your current directory
and initialises the database with an empty project.
== Keybindings
[%header,cols=2*]
|===
|Key
|Action
|CTRL + q
|Quit the application
|c
|Create a new card
|CTRL + d
|Delete card
|m
|Move card between statuses
|===
== Inspiration
https://github.com/witchard/toukan[The toukan project]