Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 933 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 933 Bytes

HITSZ OSA - Landing Page

Website

osa.moe

Development Guide

Prerequisites

  • Node.js
  • Yarn Package Manager

Set up

  1. Use command yarn to install all required Node modules.
  2. You're up!

Recommended IDE: WebStorm

Deploy

You can either use the already existed Run Configuration in WebStorm, or use command yarn start. Everything in the main branch will be built and deployed to production environment by Netlify bot, and every PR will trigger the bot to build a preview website.

Build

Use command yarn build to build. The built product is in directory dist.

Project structure

  • src/: Most of the source code.
  • static/: Most of the static website files.
  • dist/: Locally built product.
  • .parcel_cache/: Cache files for Parcel. If something goes wrong, you might need to delete the directory and try again.
  • .parcelrc: Parcel configuration file.