Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 767 Bytes

README.md

File metadata and controls

51 lines (35 loc) · 767 Bytes

Homepage Ungine

云骏时代企业官网

Develop

git clone https://github.com/Ungine-Tech/Homepage-Ungine.git
cd Homepage-Ungine
yarn install
yarn dev

Deploy

You need to install Node.js or docker in advance.

Self-deploy

yarn install --frozen-lockfile
yarn build
yarn start

Export static files

yarn install  --frozen-lockfile
yarn export

Then you can find the exported files in the ./out/ directory.

Docker Dynamic

use node:lts-alpine image.

docker build -t homepage-ungine .
docker run -itd homepage-ungine -p 3000:80

Docker Static

use node:lts-alpine and nginx:stable-alpine images.

docker build -t homepage-ungine .
docker run -itd homepage-ungine -p 80:80