Giter VIP home page Giter VIP logo

immortan-playground's Introduction

Config file and asset files

Before running put reference.conf as wallet.conf into ~/.immortan-cli directory.

Also copy files from IMMORTAN resources here into assets subdirectory of ~/.immortan-cli path.

sbt-nix

The only requirement to compile and run this project is Nix. You can install it with the following command:

curl -L https://nixos.org/nix/install | sh

To have coursier, java and sbt available, run nix-shell. Then you can use any of these packages as usual.

Create Docker image

Note: in order to create the base-jre, you also need to have Docker installed as it needs to run as daemon so it cannot be provided in the shell.nix.

> nix-build nix/docker.nix -o result-base-jre
> docker load < result-base-jre
> sbt "docker:publishLocal"

Run the Docker image.

> docker run -it sbt-nix-immortan-cli:0.1.0-SNAPSHOT

Build a binary

Running nix-build will pick up default.nix, which uses sbt-derivation.

> nix-build

Run the binary as follows.

> result/bin/sbt-nix-immortan-cli

Notes

Make sure you read the comprehensive guide at https://github.com/gvolpe/sbt-nix.g8, if you feel stuck.

immortan-playground's People

Contributors

evd0kim avatar

Stargazers

 avatar

Watchers

Anton Gushcha avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.