Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xevion/undefined.behavio.rs
https://github.com/xevion/undefined.behavio.rs
astro react undefined-behavior
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/xevion/undefined.behavio.rs
- Owner: Xevion
- Created: 2023-11-24T09:16:43.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-27T21:14:09.000Z (7 months ago)
- Last Synced: 2024-05-28T07:22:14.764Z (7 months ago)
- Topics: astro, react, undefined-behavior
- Language: Markdown
- Homepage: https://undefined.behavio.rs
- Size: 3.87 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# undefined.behavio.rs
## Project Structure
| Path | Description |
| :--------------------------------- | :------------------------------------------------ |
| `/src/components` | Reusable building blocks |
| `/src/layouts ` | Layouts are components used to structure the page |
| `/src/content/config.ts` | Content collection definitions |
| `/src/content/blog` | Stores blog posts |
| `/src/pages/index.astro` | Site Index |
| `/src/pages/pages/[...slug].astro` | Catch all route that serves blog content |
| `/public/fonts/` | Special font assets used in the site |## Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------- | :----------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm run dev` | Starts local dev server at `localhost:4321` |
| `pnpm run build` | Build your production site to `./dist/` |
| `pnpm run preview` | Preview your build locally, before deploying |
| `pnpm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `pnpm run astro -- --help` | Get help using the Astro CLI |Documentation is available [here](https://docs.astro.build).
## Required Environment Variables
This project requires certain environment variables to be present in order for builds to be successful.
To solve this, create a file named `.env` and place the following inside:
```
PUBLIC_VERCEL_GIT_REPO_OWNER=Xevion
PUBLIC_VERCEL_GIT_REPO_SLUG=undefined.behavio.rs
PUBLIC_VERCEL_GIT_COMMIT_SHA=ABC12345
```These variables will be provided by Vercel upon build, so the `.env` file is only useful in development mode.