> For the complete documentation index, see [llms.txt](https://openai.gitbook.io/code-cheatsheets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openai.gitbook.io/code-cheatsheets/deployment/surge.md).

# {Surge

For fully static sites, HTML, CSS, SJ

```bash
npm install --global surge

# Then create a (free) account with them
surge 

surge --help

surge <project> <domain> #need domain to relaunch in domain
```

## React Router

For react router, you need it to always go to the index.html page, simply change the name of the index.html page to `200.html` and it will route every successful request there
