https://github.com/srid/motif
[WIP] A typed outliner
https://github.com/srid/motif
haskell outliner reflex tree
Last synced: 19 days ago
JSON representation
[WIP] A typed outliner
- Host: GitHub
- URL: https://github.com/srid/motif
- Owner: srid
- License: mit
- Created: 2018-04-13T23:03:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-29T21:02:09.000Z (over 7 years ago)
- Last Synced: 2024-12-27T01:08:20.115Z (11 months ago)
- Topics: haskell, outliner, reflex, tree
- Language: Haskell
- Homepage:
- Size: 90.8 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# motif
[chronicle](https://github.com/srid/chronicle) resurrected.
## Development
```
./ghcid-frontend # Runs jsaddle-warp
```
```
./ghcid-backend
```
Visit http://localhost:3003/
## Deployment on NixOS
Clone this repo and add the full path to the `service.nix` file to the imports section of your /etc/nixos/configuration.nix (you may alternatively use [home-manager](https://github.com/rycee/home-manager) should you wish to keep it all user-local). It should look like this:
```
$ cat /etc/nixos/configuration.nix
[...]
imports =
[
/etc/nixos/hardware-configuration.nix
/path/to/motif/service.nix
]
[...]
```
Run `sudo nixos-rebuild switch`. This will add an *user* systemd unit called `motifapp`. You will need to launch it manually using:
```
systemctl --user start motifapp
```
Then visit http://localhost:9000/index.html in the browser.
Note that the backend is hardcoded to store the (acid-state) database under `~/Dropbox/Apps/motifdb`.
Should something go wrong, you may view the logs of the service using:
```
systemctl --user status motifapp
```
## Roadmap
See https://github.com/srid/motif/projects/1