Skip to content

Commit

Permalink
Updated Client configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor committed Sep 5, 2024
1 parent 4a331a5 commit 7263f1e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
11 changes: 0 additions & 11 deletions client/Dockerfile

This file was deleted.

11 changes: 8 additions & 3 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Casper Lottery Client is a React application bootstrapped from [CSPR.click React

## Setup

Before building фтв running the Web Client, please update the configuration. Start with copying the config template:
Before building and running the Web Client, please update the configuration. Start with copying the config template:

```bash
cp public/config.js.local public/config.js
Expand All @@ -16,9 +16,14 @@ Next, update the following configuration values:

The rest of the values should remain the same for the local development, unless you made corresponding changes in other places.

To install the dependencies, run:
```
npm install
```

## Build

To build the project for production, use:
To build the project for production, run:
```
npm run build
```
Expand All @@ -27,7 +32,7 @@ This command will create a build folder with optimized production-ready files.

## Run

To run the application, use:
To run the application, execute:

```bash
npm start
Expand Down

0 comments on commit 7263f1e

Please sign in to comment.