Merge pull request #317 from flotwig/add-readme

docs: add README.md
This commit is contained in:
liushuyu 2022-05-08 17:17:37 -06:00 committed by GitHub
commit f28b90a9a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
README.md Normal file
View file

@ -0,0 +1,20 @@
This repo contains the sources for the yuzu-emu website at https://yuzu-emu.org/.
# Local Development
Prerequisites:
* `git`
* `yarn`
* `graphicsmagick` (`apt install graphicsmagick` on Debian/Ubuntu)
Steps to run:
1. Run `git submodule init && git submodule update`.
2. Install dependencies by running `yarn`.
3. Set the `GITHUB_WIKI_URL` and `TENANT` enivironment variables:
```bash
export GITHUB_WIKI_URL=https://github.com/yuzu-emu/yuzu.wiki.git
export TENANT=yuzu
```
3. Run `yarn serve` to watch files and serve on http://localhost:3000 or `yarn build` to compile a static version.