Update README.md

This commit is contained in:
Abubakar Abid 2022-01-19 15:37:30 -06:00 committed by GitHub
parent 06ba11c811
commit aebbf50e75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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