Skip to content
/ iWiki Public

iWiki is next version of OVINC's Wiki Repo

License

Notifications You must be signed in to change notification settings

OVINC-CN/iWiki

Repository files navigation

iWiki

iWiki, a document management system that combines blogs and knowledge bases.

Deployment

Method 1: Deploy on Vercel (Recommended)

Fork this repository and deploy it using Vercel.

# Modify deployment settings
Modify `Build Command` to `yarn build`   
Modify `Install Command` to `yarn`
# Add environment variables
SITE_URL=<SITE URL>
BACKEND_URL=<API URL>
OVINC_WEB_URL=<OVINC WEB URL>
OVINC_URL=<OVINC UNION API URL>

Method 2: Manual Packaging and Deployment

This deployment method requires a static resource server of your own, or you can host the static resources on COS, OSS, S3.

SITE_URL=<SITE URL> \
BACKEND_URL=<API URL> \
OVINC_WEB_URL=<OVINC WEB URL> \
OVINC_URL=<OVINC UNION API URL> \
yarn && yarn build