This is the companion website to illuminations.mit.edu It's built ontop of Next.js, bootstrapped with create-next-app and uses TypeScript. Don't worry if you haven't used Typescript before! It's super easy to learn and really just adds a bunch of niceties.
This site is currently hosted deployed on Vercel, and you can see the live version of it on learn.illuminations.mit.edu. Pull requests welcome!
- Clone this repo!
- Navigate to the root using Terminal on a Mac, or some sort of bash shell if youre on a PC. Run
yarn install(if you don't have yarn, you may need to install it. Yarn is a package management system and makes keeping track of versions easy.) - Next, you'll need to get the
.envfiles from someone currently who has the app running. Probably Victor. Place the.envin the root of the project. - To run the development server, run:
yarn dev - Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
