mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
13 lines
244 B
Bash
13 lines
244 B
Bash
#!/bin/bash
|
|
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
|
|
echo "Please run the script from repo directory"
|
|
exit -1
|
|
else
|
|
echo "Building the website"
|
|
cd website/homepage
|
|
npm install
|
|
npm run build
|
|
cd dist
|
|
python -m http.server
|
|
fi
|