Skip to content

Commit 81694f6

Browse files
committed
Improve claim page
1 parent 02f8f88 commit 81694f6

14 files changed

Lines changed: 453 additions & 155 deletions

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,61 @@
55

66
The LBRY Web interface to interact with the LBRY Daemon from in the browser.
77

8+
## Installation
9+
10+
### Prerequisites
11+
12+
- [Node.js](https://nodejs.org/)
13+
- [npm](https://www.npmjs.com/)
14+
- [Docker](https://www.docker.com/) (optional, for containerized setup)
15+
16+
Installing dependencies, when not using a containerized setup:
17+
18+
```shell
19+
npm install
20+
```
21+
22+
## Usage
23+
24+
Running development server:
25+
26+
```shell
27+
npm run dev
28+
```
29+
30+
Build the project:
31+
32+
```shell
33+
npm run build
34+
```
35+
36+
Run the server:
37+
38+
```shell
39+
npm run start
40+
```
41+
42+
### With Docker
43+
44+
Building the image:
45+
46+
```shell
47+
docker build . -t lbry-web
48+
```
49+
50+
Running the container:
51+
52+
```shell
53+
docker run --name lbry-web --network host --restart always lbry-web
54+
```
55+
56+
### With Docker Compose
57+
58+
```shell
59+
docker compose build
60+
docker compose up -d
61+
```
62+
863
## License
964

1065
This project is MIT licensed. For the full license, see [LICENSE](LICENSE.md).

package-lock.json

Lines changed: 55 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AppRouter.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { BrowserRouter, MemoryRouter, StaticRouter } from "react-router";
44
const isElectron: boolean = false; // TODO Add detection
55

66
function AppRouter({
7-
url,
8-
children,
9-
}: PropsWithChildren & { url?: string }): JSX.Element {
7+
url,
8+
children,
9+
}: PropsWithChildren & { url?: string }): JSX.Element {
1010
if (isElectron) {
1111
return <MemoryRouter>{children}</MemoryRouter>;
1212
}

0 commit comments

Comments
 (0)