Skip to content

Configuring and Running on Local

Raghavendra Balgi edited this page Jun 22, 2022 · 2 revisions

Below is an example of setting up isosim to work on a linux system

(isosim uses modules so go 1.12+ is preferred)

Here's how this should look like -

rkbalgi@xenial:~/work$ git clone https://github.com/rkbalgi/isosim.git
Cloning into 'isosim'...
remote: Counting objects: 473, done.
remote: Total 473 (delta 0), reused 0 (delta 0), pack-reused 473
Receiving objects: 100% (473/473), 1.24 MiB | 403.00 KiB/s, done.
Resolving deltas: 100% (243/243), done.
Checking connectivity... done.
rkbalgi@xenial:~/work$ cd isosim/cmd/isosim

Now, you should be able to run the project

rkbalgi@xenial:~/work/isosim/cmd/isosim$ go run isosim.go -http-port 8080 -specs-dir ../../specs -html-dir ../../html --data-dir ../../testdata

The page http://localhost:8080/ should be accessible via browser

Building with Docker

docker buildx build --push --platform=linux/amd64,linux/arm64 --tag rkbalgi/isosim .