From 77cc3ce031dc261c25cde9ab88bf187eea33f433 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Wed, 22 May 2024 10:39:09 +0200 Subject: [PATCH] Rename radicle-interface ocurrences to radicle-explorer --- README.md | 6 +++--- flake.nix | 18 +++++++++--------- package-lock.json | 2 +- public/app.webmanifest | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 24e06fd4e..dd06da5ae 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Radicle Web UI +# Radicle Explorer This user interface lets you interact with [Radicle][rad], a peer-to-peer code collaboration and publishing stack, directly from your web browser. @@ -18,8 +18,8 @@ collaboration and publishing stack, directly from your web browser. Run the following commands to access the web UI locally: ``` -git clone https://seed.radicle.garden/z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git radicle-interface -cd radicle-interface +git clone https://seed.radicle.xyz/z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git radicle-explorer +cd radicle-explorer npm install npm start ``` diff --git a/flake.nix b/flake.nix index 0fbb54894..f87328a4e 100644 --- a/flake.nix +++ b/flake.nix @@ -16,9 +16,9 @@ ... }@inputs: { - nixosModules.radicle-interface = { config, lib, pkgs, ... }: { - options.services.radicle-interface.enable = lib.mkEnableOption "Local radicle web interface"; - config = lib.mkIf config.services.radicle-interface.enable { + nixosModules.radicle-explorer = { config, lib, pkgs, ... }: { + options.services.radicle-explorer.enable = lib.mkEnableOption "Local radicle web interface"; + config = lib.mkIf config.services.radicle-explorer.enable { services.nginx = { enable = true; virtualHosts.localhost = { @@ -27,7 +27,7 @@ locations = { "/" = { index = "index.html"; - root = self.packages.${pkgs.system}.radicle-interface; + root = self.packages.${pkgs.system}.radicle-explorer; extraConfig = '' try_files $uri $uri/ /index.html; ''; @@ -45,11 +45,11 @@ in { checks = { - radicle-interface = self.packages.${system}.radicle-interface.override { doCheck = true; }; + radicle-explorer = self.packages.${system}.radicle-explorer.override { doCheck = true; }; }; packages = { - default = self.packages.${system}.radicle-interface; + default = self.packages.${system}.radicle-explorer; twemoji-assets = pkgs.fetchFromGitHub { owner = "twitter"; repo = "twemoji"; @@ -57,7 +57,7 @@ hash = "sha256-YoOnZ5uVukzi/6bLi22Y8U5TpplPzB7ji42l+/ys5xI="; }; - radicle-interface = pkgs.callPackage ({ + radicle-explorer = pkgs.callPackage ({ lib, buildNpmPackage, doCheck ? false }: let # We need rad debug binaries @@ -70,10 +70,10 @@ ]; }; in buildNpmPackage rec { - pname = "radicle-interface"; + pname = "radicle-explorer"; version = "1.0.0"; src = ./.; - npmDepsHash = "sha256-E2M1aHKxustlneEx/H+UYR45eYkYpQgUgvbAHaXzuC4="; + npmDepsHash = "sha256-T2r9qTpXENG+uXZVa0KQW6j0BY8vrk7rPAGYPYAFF1A="; postPatch = '' patchShebangs --build ./scripts mkdir -p "public/twemoji" diff --git a/package-lock.json b/package-lock.json index c1780632e..df7aeac36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "radicle-interface", + "name": "radicle-explorer", "version": "1.0.0", "lockfileVersion": 3, "requires": true, diff --git a/public/app.webmanifest b/public/app.webmanifest index 56f127b5b..da282d699 100644 --- a/public/app.webmanifest +++ b/public/app.webmanifest @@ -1,5 +1,5 @@ { - "id": "radicle-interface", + "id": "radicle-explorer", "name": "Radicle Explorer", "short_name": "Radicle Explorer", "description": "Explore the Radicle network",