mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
37 lines
464 B
Markdown
37 lines
464 B
Markdown
|
# Astro Demo
|
||
|
|
||
|
## Getting setup
|
||
|
|
||
|
1. Checkout Astro at: https://github.com/snowpackjs/astro
|
||
|
|
||
|
1. Install and build Astro:
|
||
|
|
||
|
```shell
|
||
|
npm install
|
||
|
npm run build
|
||
|
```
|
||
|
|
||
|
2. Link Astro:
|
||
|
|
||
|
```shell
|
||
|
npm link
|
||
|
```
|
||
|
|
||
|
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
|
||
|
```
|