mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
Update README.md
This commit is contained in:
parent
06ba11c811
commit
aebbf50e75
@ -11,12 +11,12 @@ The website is launched through the `docker-compose.yml` file in this directory.
|
||||
|
||||
## The `homepage` docker
|
||||
|
||||
The homepage folder builds the static content of the website into standalone files, served by nginx in docker. For development purposes, instead of running docker to test changes, follow these steps in the `homepage` folder.
|
||||
The homepage folder builds the static content of the website into standalone files, served by nginx in docker. For development purposes, instead of running docker to test changes, follow these steps in the `gradio/website/homepage` folder.
|
||||
|
||||
- `npm install`
|
||||
- `npm run build` (or `npm run start` for automatic reload on change).
|
||||
|
||||
The website will be built in the `homepage/dist` directory. You can run a development server from this directory to launch the homepage, e.g. `python -m http.server`. See `homepage/package.json` for build steps.
|
||||
The website will be built in the `gradio/website/homepage/dist` directory. You can run a development server from this directory to launch the homepage, e.g. `python -m http.server`. See `gradio/website/homepage/package.json` for build steps.
|
||||
|
||||
## The `demos` docker
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user