/ccse-mirrors-web

Front-end web for SDUST Open Source Mirrors

Primary LanguageVueMIT LicenseMIT

CCSE Open Source Mirrors Website

This project builds the front-end website for SUSTech CCSE Open Source Mirrors. It is built upon Vuepress.

Setup

Make sure you have pnpm installed. (You may use NPM instead.)

# Retrieve source code
git clone https://github.com/SUSTech-CRA/ccse-mirrors-web.git

# Install development dependencies
cd ccse-mirrors-web
pnpm install
# Modify api endpoint before running locally

# The head of "site/.vuepress/theme/util/tunasyncAdapter.js"
# const apiEndpoint

# The file of "site/.vuepress/theme/components/IsoModalPanel.vue"
# const isoinfoEndpoint
# Start your journey now
pnpm dev

Build for Production

pnpm build

By default, static files are generated in site/.vuepress/dist/. Publish the dist directory and you'll get your website.

Acknowledgement

CCSE Open Source Mirrors is supported by SUSTech Center for Computational Science and Engineering.