|
1 |
| -# Astro Starter Kit: Basics |
| 1 | +# velolib.github.io - v2 |
2 | 2 |
|
3 |
| -```sh |
4 |
| -npm create astro@latest -- --template basics |
5 |
| -``` |
| 3 | +[](https://malikihsanfathurrahman.pages.dev/) |
| 4 | +[](https://velolib.github.io/) |
| 5 | + |
| 6 | + |
| 7 | + |
6 | 8 |
|
7 |
| -[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) |
8 |
| -[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics) |
9 |
| -[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json) |
| 9 | +## Overview |
10 | 10 |
|
11 |
| -> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun! |
| 11 | +This repository contains the source code for my personal website/portfolio (Version 2). |
12 | 12 |
|
13 |
| - |
| 13 | +## 🛠️ Local Development |
14 | 14 |
|
15 |
| -## 🚀 Project Structure |
| 15 | +1. Clone the repository: |
| 16 | +```bash |
| 17 | +git clone https://github.com/velolib/velolib.github.io.git |
| 18 | +cd velolib.github.io |
| 19 | +``` |
16 | 20 |
|
17 |
| -Inside of your Astro project, you'll see the following folders and files: |
| 21 | +2. Install dependencies: |
| 22 | +```bash |
| 23 | +bun install |
| 24 | +``` |
18 | 25 |
|
19 |
| -```text |
20 |
| -/ |
21 |
| -├── public/ |
22 |
| -│ └── favicon.svg |
23 |
| -├── src/ |
24 |
| -│ ├── layouts/ |
25 |
| -│ │ └── Layout.astro |
26 |
| -│ └── pages/ |
27 |
| -│ └── index.astro |
28 |
| -└── package.json |
| 26 | +3. Start the development server: |
| 27 | +```bash |
| 28 | +bun run dev |
29 | 29 | ```
|
30 | 30 |
|
31 |
| -To learn more about the folder structure of an Astro project, refer to [our guide on project structure](https://docs.astro.build/en/basics/project-structure/). |
| 31 | +4. Open your browser and visit `http://localhost:3000` |
32 | 32 |
|
33 |
| -## 🧞 Commands |
| 33 | +## 📦 Building for Production |
| 34 | + |
| 35 | +```bash |
| 36 | +bun run build |
| 37 | +``` |
34 | 38 |
|
35 |
| -All commands are run from the root of the project, from a terminal: |
| 39 | +## 🚀 Deployment |
36 | 40 |
|
37 |
| -| Command | Action | |
38 |
| -| :------------------------ | :----------------------------------------------- | |
39 |
| -| `npm install` | Installs dependencies | |
40 |
| -| `npm run dev` | Starts local dev server at `localhost:4321` | |
41 |
| -| `npm run build` | Build your production site to `./dist/` | |
42 |
| -| `npm run preview` | Preview your build locally, before deploying | |
43 |
| -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | |
44 |
| -| `npm run astro -- --help` | Get help using the Astro CLI | |
| 41 | +This site is automatically deployed to: |
| 42 | +- [GitHub Pages](https://malikihsanfathurrahman.pages.dev/) on push to the main branch |
| 43 | +- [Cloudflare Pages](https://velolib.github.io/) on push to the main branch |
45 | 44 |
|
46 |
| -## 👀 Want to learn more? |
| 45 | +## 📝 License |
47 | 46 |
|
48 |
| -Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). |
| 47 | +[BSD 3-Clause License](LICENSE) |
0 commit comments