New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
claper: init at 1.1.1 #201607
base: master
Are you sure you want to change the base?
claper: init at 1.1.1 #201607
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/packaging-claperco-claper-software/23307/1 |
2aa22b2
to
e0b124b
Compare
337c645
to
0adc850
Compare
0adc850
to
8fce51d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The postgres setup is weird. Why not use the standard way to create databases?
SECRET_KEY_BASE = cfg.secret_key_base; | ||
ENDPOINT_HOST = cfg.server.endpoint_host; | ||
ENDPOINT_PORT = cfg.server.endpoint_port; | ||
PORT = cfg.server.port; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use socket authentication
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to use socket already but Claper requires an URL.
default = "postgres://claper:claper@127.0.0.1:5432/claper"; | ||
type = types.str; | ||
description = lib.mdDoc '' | ||
Path to the UNIX domain-socket to communicate with `postgres`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the default is not a unix socket path
8fce51d
to
d002674
Compare
Hello,
I'm looking for using Claper webapp, sadly, it's not available in nixpkgs yet.
I have started to do something, but It's obviously not working yet.
This PR is to gather some help from the community, and in the end provide Claper in Nix.
Tasks:
default.nix
filenpm
stuffThe documentation to install it is here: https://github.com/ClaperCo/Claper#installation
Further documentation: https://docs.claper.co/configuration.html
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes