Skip to content

Commit 6b2abbf

Browse files
valentin-pinkauvalentin-pinkau
andauthored
update dev install instructions (#8808)
This PR updates the install instructions. There is no ./start-docker.sh anymore and webknossos now works with apple silicon. Co-authored-by: valentin-pinkau <[email protected]>
1 parent 8e7c2c0 commit 6b2abbf

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed

DEV_INSTALL.md

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
# Development installation
22

3-
## Docker
4-
5-
This is only recommended for local testing (not for development). Docker 19.03.0+ and Docker Compose 2.+ are required.
6-
7-
```bash
8-
git clone -b master --depth=1 [email protected]:scalableminds/webknossos.git
9-
cd webknossos
10-
docker compose pull webknossos
11-
./start-docker.sh
12-
```
13-
14-
Open your local WEBKNOSSOS instance on [localhost:9000](http://localhost:9000) and complete the onboarding steps in the browser.
15-
Now, you are ready to use your local WEBKNOSSOS instance.
16-
17-
See the wiki for [instructions on updating](https://github.com/scalableminds/webknossos/wiki/Development-setup) this development setup.
18-
19-
For non-localhost deployments, check out the [installation guide in the documentation](https://docs.webknossos.org/webknossos/installation.html).
203

214
## Dependencies
225

@@ -37,8 +20,6 @@ For non-localhost deployments, check out the [installation guide in the document
3720
## MacOS
3821

3922
```bash
40-
# WEBKNOSSOS needs to be run from x86_64 environment (only applicable for arm64-based Macs)
41-
arch -x86_64 /bin/zsh
4223

4324
# Install Homebrew package manager
4425
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@@ -48,13 +29,11 @@ brew install openjdk draco openssl git node postgresql sbt findutils coreutils g
4829

4930
# Set env variables for openjdk and openssl
5031
# You probably want to add these lines manually to avoid conflicts in your zshrc
51-
echo 'if [ $(arch) = "i386" ]; then' >> ~/.zshrc
52-
echo ' export JAVA_HOME=/opt/homebrew/opt/openjdk/libexec/openjdk.jdk/Contents/Home' >> ~/.zshrc
53-
echo ' export PATH="/usr/local/opt/openjdk/bin:$PATH"' >> ~/.zshrc
54-
echo ' export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.zshrc
55-
echo ' export LDFLAGS="-L/usr/local/opt/openssl/lib"' >> ~/.zshrc
56-
echo ' export CPPFLAGS="-I/usr/local/opt/openssl/include"' >> ~/.zshrc
57-
echo 'fi' >> ~/.zshrc
32+
echo 'export JAVA_HOME=/opt/homebrew/opt/openjdk/libexec/openjdk.jdk/Contents/Home' >> ~/.zshrc
33+
echo 'export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"' >> ~/.zshrc
34+
echo 'export PATH="/opt/homebrew/opt/openssl/bin:$PATH"' >> ~/.zshrc
35+
echo 'export LDFLAGS="-L/opt/homebrew/opt/openssl/lib"' >> ~/.zshrc
36+
echo 'export CPPFLAGS="-I/opt/homebrew/opt/openssl/include"' >> ~/.zshrc
5837

5938
# Start postgres and redis
6039
brew services start postgresql

0 commit comments

Comments
 (0)