mirror of https://github.com/status-im/nimplay.git
More up to date README
This commit is contained in:
parent
22522c0662
commit
7a830a7f1c
|
@ -1,19 +1,30 @@
|
||||||
# Installing
|
# Installation
|
||||||
|
|
||||||
To make development of nimplayer easier, NimPlay uses NLVM(https://github.com/arnetheduck/nlvm/tree/master/nlvm).
|
The NimPlay installation is currently managed through a simple [Makefile](https://github.com/status-im/nimplay/blob/master/Makefile).
|
||||||
Which is a LLVM based Nim compiler. To make setup a NimPlay environment, either AppImage (for Linux) or Docker can be used, the minimum requriement for this would be _GNU Make_ and _BASH_.
|
To use it, you shouldn't need anything else besides _BASH_, _GNU Make_, _CMake_ and _Python_.
|
||||||
|
|
||||||
## Using NLVM App
|
## Obtaining NLVM
|
||||||
|
|
||||||
|
To make development of nimplayer easier, NimPlay uses NLVM (https://github.com/arnetheduck/nlvm/tree/master/nlvm) which is a LLVM based Nim compiler. To fetch the latest version of NLVM in either AppImage or Docker form, use one of the following commands:
|
||||||
|
|
||||||
```
|
```
|
||||||
make get-nlvm-appimage
|
make get-nlvm-appimage
|
||||||
make tools
|
|
||||||
make examples
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
or
|
||||||
## Using NLVM docker
|
|
||||||
|
|
||||||
```
|
```
|
||||||
make get-nlvm-docker
|
make get-nlvm-docker
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Building the examples
|
||||||
|
|
||||||
|
This repo includes a number of examples such as the [King of the Hill](https://github.com/status-im/nimplay/blob/master/examples/king_of_the_hill.nim) contract. To build them, use the following commands:
|
||||||
|
|
||||||
|
```
|
||||||
|
git submodule update --init
|
||||||
|
make get-wabt
|
||||||
|
make tools
|
||||||
|
make examples
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue