Our static landing page features information for prospective members to learn about our organaization and enables members to see what events are currently happening. The website is written in Astro, a lightweight static site generator to allow anyone to quickly contribute to our codebase with little prerequisite knowledge of a particular technology.
Download Visual Studio Code or any code editor of choice. It's recommended to use VS code for ease of use and Astro language support.
Download Node & NPM, NPM comes bundled with Node.
To start the local development server, run:
npm run dev
Any changes you make to files will automatically update on the server and refresh the page.
/
├── public/
│ └── images/
├── projects/
│ └── icebreak.md
├── src/
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
├── package.json
└── README.md (you are here!)
Our projects are stored in the projects/
directory as Markdown (.md
) files to easily edit any text, images, or content.
To learn more about the folder structure of an Astro project, refer to Astro's guide on project structure.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add , astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Made with ❤️ by SEA