From 724a7e9a31424da26cf1d711c534b3ade25e6ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kav=C3=ADk?= Date: Sun, 8 Mar 2020 18:48:36 +0100 Subject: [PATCH] docs: Deploy section and updates in README --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aaeee82..fa53533 100755 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **To get started:** -- Clone this repo: `git clone https://github.com/david-oconnor/seed-quickstart.git` +- Clone this repo: `git clone https://github.com/seed-rs/seed-quickstart.git` - If you don't have Rust and cargo-make installed, [Download it](https://www.rust-lang.org/tools/install), and run the following commands: @@ -10,10 +10,19 @@ `rustup target add wasm32-unknown-unknown` -`cargo install --force cargo-make` +`cargo install cargo-make` Run `cargo make build` in a terminal to build the app, and `cargo make serve` to start a dev server on `127.0.0.1:8000`. If you'd like the compiler automatically check for changes, recompiling as needed, run `cargo make watch` instead of `cargo make build`. + +**Deploy** + +1. Run `cargo make build release` +2. Upload `index.html` and `pkg` to your web server + +--- + +New Rust-only quickstart in development! => [Seeder](https://github.com/MartinKavik/seeder)