File size: 1,295 Bytes
b8e1b6c
c24ea90
 
 
 
 
b8e1b6c
c24ea90
 
 
 
 
 
 
52307d3
c24ea90
b8e1b6c
c24ea90
 
 
 
 
 
 
 
 
 
 
 
 
c7b266f
 
0951bdd
c7b266f
c24ea90
 
 
e904bd4
c24ea90
e904bd4
 
72cfb5a
e904bd4
 
72cfb5a
e904bd4
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import Sidenote from '../../components/Sidenote.astro';

## Getting Started

### Installation

<Sidenote>
```bash
git lfs install
git lfs pull
cd app
npm install
```
<Fragment slot="aside">
    Alternatively, you can use **Yarn** as your package manager.
  </Fragment>
</Sidenote>


### Development

```bash
npm run dev
```

### Build

```bash
npm run build
```
<small className="muted">- Serving the `dist/` directory on any static host is enough to deliver the site.</small>
<br/>
<small className="muted">- A [slug-title].pdf and thumb.auto.jpg are also generated at build time. You can find them in the public folder.</small>


### Deploy

The recommended way is to **duplicate this Space on Hugging Face** rather than cloning it directly:

1. Open the template Space: **[🤗 science-blog-template](https://huggingface.co/spaces/tfrere/science-blog-template)** and click "Duplicate this Space".
2. Give it a name, choose visibility, and keep the SDK as **Docker** (this project includes a `Dockerfile`).
3. Then push your changes to your new Space repo. **Every push automatically triggers a build and deploy** on Spaces.

```bash
git clone git@hf.co:spaces/<your-username>/<your-space>.git
cd <your-space>
# Make edits locally, then:
git add .
git commit -m "Update content"
git push
```