Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.04 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.04 KB

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 Yarn 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
yarn 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
yarn dev

Build for Production

yarn 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.