This project builds the front-end website for SUSTech CCSE Open Source Mirrors. It is built upon Vuepress.
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
yarn build
By default, static files are generated in site/.vuepress/dist/
. Publish the dist directory and you'll get your website.
CCSE Open Source Mirrors is supported by SUSTech Center for Computational Science and Engineering.