You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
653 B
Markdown
45 lines
653 B
Markdown
2 years ago
|
# NovelAI Web
|
||
|
|
||
|
## Setup
|
||
|
|
||
|
Requires Node 16.9.0 or later.
|
||
|
|
||
|
### Installing dependencies
|
||
|
|
||
|
```bash
|
||
|
corepack pnpm install
|
||
|
```
|
||
|
|
||
|
## Development
|
||
|
|
||
|
### Running a local development instance
|
||
|
|
||
|
```bash
|
||
|
corepack pnpm start
|
||
|
```
|
||
|
|
||
|
The app will run on [http://localhost:3000](http://localhost:3000) by default.
|
||
|
|
||
|
## Running a local production instance
|
||
|
|
||
|
```bash
|
||
|
corepack pnpm run build
|
||
|
corepack pnpm run build:start
|
||
|
```
|
||
|
|
||
|
The app will run on [http://localhost:3000](http://localhost:3000) by default.
|
||
|
|
||
|
## Running tests and checks
|
||
|
|
||
|
```bash
|
||
|
corepack pnpm run check
|
||
|
```
|
||
|
|
||
|
### Deployment
|
||
|
|
||
|
```bash
|
||
|
corepack pnpm run build
|
||
|
```
|
||
|
|
||
|
A static production build will be exported to `build`.
|