2021-03-19 21:17:38 +00:00
|
|
|
# Astro Demo
|
|
|
|
|
2021-05-03 18:26:10 +00:00
|
|
|
## Getting set up
|
2021-03-19 21:17:38 +00:00
|
|
|
|
2021-05-03 18:26:10 +00:00
|
|
|
1. Check out Astro at: https://github.com/snowpackjs/astro
|
2021-03-19 21:17:38 +00:00
|
|
|
|
2021-05-03 18:26:10 +00:00
|
|
|
1. Install and build Astro:
|
2021-03-19 21:17:38 +00:00
|
|
|
|
2021-05-03 18:26:10 +00:00
|
|
|
```shell
|
|
|
|
npm install
|
|
|
|
npm run build
|
|
|
|
```
|
2021-03-19 21:17:38 +00:00
|
|
|
|
2021-05-03 18:26:10 +00:00
|
|
|
2. Link Astro:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
npm link
|
|
|
|
```
|
2021-03-19 21:17:38 +00:00
|
|
|
|
|
|
|
2. In this project link Astro and install other deps:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
npm link astro
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
3. Run the Astro dev environment.
|
|
|
|
|
|
|
|
```shell
|
2021-07-21 14:09:44 +00:00
|
|
|
npm start
|
2021-03-19 21:17:38 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
4. Build the website. (Not yet working.)
|
|
|
|
|
|
|
|
```shell
|
|
|
|
npm run build
|
2021-05-03 18:26:10 +00:00
|
|
|
```
|