-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 80c20f9
Showing
19 changed files
with
2,091 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then | ||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=" | ||
fi | ||
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
on: | ||
# Allows to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
lints: | ||
name: Build | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
- name: Build package | ||
run: nix build . | ||
- name: Build example | ||
run: nix build --no-write-lock-file ./example#nixosConfigurations.example.config.system.build.toplevel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
on: | ||
# Allows to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
push: | ||
paths: deps.edn | ||
|
||
jobs: | ||
ci: | ||
name: Update deps-lock | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
- name: Update deps-lock.json | ||
run: nix run github:jlesquembre/clj-nix#deps-lock | ||
- name: Commit changes | ||
run: | | ||
git config user.name "sohalt" | ||
git config user.email '[email protected]' | ||
git add deps-lock.json | ||
git commit -m "Update deps-lock.json" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.DS_Store | ||
.idea | ||
*.log | ||
tmp/ | ||
|
||
/target | ||
/classes | ||
/checkouts | ||
profiles.clj | ||
pom.xml | ||
pom.xml.asc | ||
*.jar | ||
*.class | ||
/.lein-* | ||
/.nrepl-port | ||
/.prepl-port | ||
/.cpcache | ||
|
||
.clj-kondo/ | ||
.lsp/ | ||
.clerk/ | ||
|
||
.direnv/ | ||
|
||
result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Solisplit | ||
|
||
Solisplit is an application to share costs in a more solidaric way. | ||
|
||
See [about](./resources/about.md) for an explanation on how it works. | ||
|
||
## Hosted deployment | ||
|
||
There is a hosted instance at https://solisplit.soha.lt. | ||
|
||
## Self-hosting | ||
|
||
The easiest way to self host is using [NixOS](https://nixos.org/) with [flakes](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake.html). | ||
See `example/flake.nix` for an example deployment. | ||
|
||
Alternantively you can also get an executable using `nix build github:sohalt/solisplit`, which you can start any way you like. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{:tasks | ||
{dev {:task (clojure "-X:dev")}}} |
Oops, something went wrong.