1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-22 15:54:26 +00:00

no log: Update frontend/README.md

This commit is contained in:
Liang Yi 2021-06-24 13:35:46 +08:00 committed by GitHub
parent e1628d76fd
commit b657aed6ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,38 @@
# Bazarr Frontend
## How to Run
## Dependencies
* [Node.js](https://nodejs.org/)
* npm (included in Node.js)
1. Duplicate `.env` file and rename to `.env.local`
2. Fill any variable that defined in `.env.local`
3. Run Bazarr backend (Backend must listening on `http://localhost:6767`)
4. Start frontend by running `npm start`
## Getting Started
1. Clone or download this repository
```
$ git clone https://github.com/morpheus65535/bazarr.git
$ cd bazarr/frontend
```
2. Install build dependencies in the project directory
```
$ npm install
```
4. Duplicate `.env` file and rename to `.env.local`
```
$ cp .env .env.local
```
6. Fill any variable that defined in `.env.local`
7. Run Bazarr backend (Backend must listening on `http://localhost:6767`)
```
$ python3 ../bazarr.py
```
9. Run the web client for local development
```
$ npm start
```
## Available Scripts
@ -27,4 +54,4 @@ Builds the app for production to the `build` folder.
Format code for all files in `frontend` folder
This command will automatic trigger when you commit codes to git. Run manually if you modify `.prettierignore` or `.prettierrc`
This command will be automatic triggered before any commits to git. Run manually if you modify `.prettierignore` or `.prettierrc`