Skip to content

Commit fe184a6

Browse files
authored
Merge branch 'master' into add-myorganisation-logo
2 parents 7aee021 + 21987c4 commit fe184a6

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

site/README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ Set up the project:
44

55
```bash
66
git clone https://github.com/sveltejs/svelte.git
7-
cd svelte/site
7+
cd svelte
8+
npm ci
9+
PUBLISH=1 npm run build
10+
cd site
811
npm ci
912
npm run update
1013
```
@@ -17,7 +20,7 @@ By default, the REPL will fetch the most recent version of Svelte from https://u
1720

1821
To produce the proper browser-compatible UMD build of the compiler, you will need to run `npm run build` (or `npm run dev`) in the root of this repository with the `PUBLISH` environment variable set to any non-empty string.
1922

20-
Then visit the REPL at [localhost:3000/repl?version=local](http://localhost:3000/repl?version=local).
23+
Then visit the REPL at [localhost:3000/repl?version=local](http://localhost:3000/repl?version=local). Please note that the local REPL only works with `npm run dev` and not when building the site for production usage.
2124

2225
## REPL GitHub integration
2326

@@ -32,6 +35,13 @@ In order for the REPL's GitHub integration to work properly when running locally
3235
GITHUB_CLIENT_SECRET=[your app's Client Secret]
3336
BASEURL=http://localhost:3000
3437
```
38+
## Building the site
39+
40+
To build the website, run `npm run sapper`. The output can be found in `__sapper__/build`.
41+
42+
## Testing
43+
44+
Tests can be run using `npm run test`.
3545

3646
## Translating the API docs
3747

site/src/routes/_components/WhosUsingSvelte.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
<a target="_blank" rel="noopener" href="https://itslearning.com"><img src="organisations/itslearning.svg" alt="itslearning logo"></a>
5353
<a target="_blank" rel="noopener" href="http://mustlab.ru"><img src="organisations/mustlab.png" alt="Mustlab logo"></a>
5454
<a target="_blank" rel="noopener" href="https://www.nesta.org.uk"><img src="organisations/nesta.svg" alt="Nesta logo"></a>
55-
<a target="_blank" rel="noopener" href="https://www.nonkositelecoms.com"><img src="organisations/nonkosi.svg" alt="Nonkosi Telecoms logo"></a>
55+
<a target="_blank" rel="noopener" href="https://www.nonkositelecoms.com"><img src="organisations/nonkosi.svg" alt="Nonkosi Telecoms logo"></a>
56+
<a target="_blank" rel="noopener" href="https://www.nzz.ch"><img src="organisations/nzz.svg" alt="Neue Zürcher Zeitung logo"></a>
5657
<a target="_blank" rel="noopener" href="https://nytimes.com"><img src="organisations/nyt.svg" alt="The New York Times logo"></a>
5758
<a target="_blank" rel="noopener" href="https://openstate.eu"><img src="organisations/open-state-foundation.svg" alt="Open State Foundation logo"></a>
5859
<a target="_blank" rel="noopener" href="https://razorpay.com"><img src="organisations/razorpay.svg" alt="Razorpay logo"></a>

site/static/organisations/nzz.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)