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