-
Notifications
You must be signed in to change notification settings - Fork 3
Getting started
To run and develop CSESoc Learn locally, you'll need the following installed:
- Node.js
- Yarn
- Rust
- GitHub CLI - optional but strongly recommended to make working with Git easier
Using Git:
git clone https://github.com/csesoc/learning-platform.git
Using GitHub CLI:
gh repo clone csesoc/learning-platform
CSESoc Learn uses Yarn for package management. Do not use npm.
In the repo folder, run
yarn install
The Stork command line tool is required to build the search index.
cargo install stork-search --locked
Start the server using
yarn dev
Open http://localhost:3000 with your browser to view CSESoc Learn. You can start editing files immediately. New content is added by creating a .mdx
file in data
under the relevant content type subdirectory. You can invoke search by pressing the search button or pressing Command + K
.
In the repo folder, run
yarn index
to rebuild the search index. A success message will appear. Reload the page to load the new search index.
CSESoc Learn uses Markdown syntax for authoring content. For a quick reference to the syntax, look here.
Made with love by CSESoc Education.
- Values
- Introduction to Git
- Git workflow
- Working with Contentlayer
- Styling with Stitches
- Introduction
- Cheatsheet
- Components
- Box
- Button
- Card
- Flex
- Icon Button
- Logo
- Tag
- Text
- Version Badge