https://github.com/chohner/chohner.com
personal webpage
https://github.com/chohner/chohner.com
astrojs
Last synced: 11 months ago
JSON representation
personal webpage
- Host: GitHub
- URL: https://github.com/chohner/chohner.com
- Owner: chohner
- License: mit
- Created: 2023-05-06T22:29:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T17:09:52.000Z (over 1 year ago)
- Last Synced: 2024-10-29T18:37:19.557Z (over 1 year ago)
- Topics: astrojs
- Language: Astro
- Homepage: https://chohner.com/
- Size: 11 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chohner.com (based on Astro Starter Kit: Basics)
Personal website, mostly to pick up Astro.
Inspiration: https://www.mritamar.com/ & https://astro.build/themes/details/brutal/
Biggest strugle was probably rendering the bibtex files, see `src/components/citations/bibtexToHTML.js` for details.
## 🧞 Commands
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:3000` |
| `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 |
| `npm run deploy` | Build & deploy site to location set in .env file |
Note: For `npm run deploy`, add `.env` file with following entry:
```
DEPLOY_LOCATION=user@URL:/path/to/www/
```