mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-07-12 00:32:20 +08:00
Update readme
This commit is contained in:
24
readme.md
24
readme.md
@@ -5,27 +5,15 @@ A (mostly functioning) server for Love Live! School idol festival 2 MIRACLE LIVE
|
|||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
### Linux
|
### Requirements
|
||||||
|
|
||||||
#### Requirements
|
|
||||||
- [perl](https://www.perl.org/get.html) (This is normally pre-installed)
|
|
||||||
- [rust](https://www.rust-lang.org/tools/install)
|
|
||||||
- [npm](https://www.npmjs.com/)
|
|
||||||
- The [libssl-dev](https://packages.debian.org/buster/libssl-dev) package. This will vary across distros.
|
|
||||||
|
|
||||||
`apt install -y npm libssl-dev perl`
|
|
||||||
|
|
||||||
### Windows
|
|
||||||
|
|
||||||
#### Requirements
|
|
||||||
- [Strawberry Perl](https://strawberryperl.com/)
|
|
||||||
- [rust](https://www.rust-lang.org/tools/install)
|
- [rust](https://www.rust-lang.org/tools/install)
|
||||||
|
|
||||||
### Packaging/Running
|
### Packaging/Running
|
||||||
|
|
||||||
**Build npm:**
|
**Build:**
|
||||||
`cd webui && npm install && npm run build`
|
|
||||||
|
|
||||||
**Build Rust:**
|
|
||||||
Debug: `cargo run`
|
Debug: `cargo run`
|
||||||
Release: `cargo build --release`
|
Release: `cargo build --release`
|
||||||
|
|
||||||
|
**Docker:**
|
||||||
|
`docker build --tag ew --file docker/Dockerfile .`
|
||||||
|
Will create docker image with tag "ew"
|
||||||
|
|||||||
Reference in New Issue
Block a user