- This repository is built on top of the Astro Framework
Astro
requires thenpm
ecosystem. You will need to installNode.js
. See here: https://nodejs.org- After installing
Node.js
, clone this repository and run the following command to install the dependencies:npm install
- Next, run the following command to start the development server
in your localhost environment.
The server should start listening on port 4321 (if default).
npm run dev
- To build to static assets, please run:
npm run build
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 |
The project structure is the following.
Currently, there are no fonts populated in the fonts
folder.
The PDFs folder holds the paper PDFs directly. If papers are linked instead, this folder can be deleted.
Right now, there is one PDF checked into the git repository as it makes it easy to verify across instances.
/
├── public/
├── src/
│ ├── assets/
│ │ └── fonts/
│ │ └── images/
│ │ └── PDFs
│ ├── components/
│ │ └── Card.astro
│ │ └── Footer.astro
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
│ └── impressum.astro
│ └── datenschutz.astro
└── package.json
Astro looks for .astro
or .md
files in the src/pages/
directory. Each page is exposed as a route based on its file name.