Skip to content

Commit

Permalink
[Readme] update setup, and add windows setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Mar 17, 2024
1 parent 56fbd6e commit 8b9157b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ Encointer wallet and client for mobile phones

## Setup

The following works for ubuntu 22.04:

### Ubuntu 22.04
Install Android Studio from snap and set it up as follows:
1. Tools > SDK manager > Install SDK Android 8.0 Oreo (not sure if version matters much)
2. ... Tools > Install SDK commandline tools
Expand All @@ -52,16 +51,17 @@ sudo apt install cmake ninja-build libgtk-3-dev npm build-essentials
# install project deps (i.e., melos)
.flutter/bin/dart pub get
.flutter/bin/dart melos bootstrap
sudo npm install --global yarn
# optional:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
```

In studio: under run configurations, add build flavor `dev`

Now: run!

### Windows
Essentially only a project wide flutter installation is needed. A simple trick to install flutter wrapper like above is
to open a Git Bash shell on windows to run the `./scripts/install_flutter_wrapper.sh`. All `./.flutter\bin\dart`
commands work from a windows terminal, so the rest of the installation steps are the same.

### Additional Info

#### Flutter wrapper and the .flutter git submodule
Expand Down

0 comments on commit 8b9157b

Please sign in to comment.