File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,20 @@ You can learn more about bonded curves and how Discover works [here](https://our
7
7
## Available Scripts
8
8
9
9
This project is based on Embark v4.0.1, with a few things customised for React.
10
-
11
10
```
12
11
yarn run build:dev
13
12
```
14
13
or
15
14
```
16
15
yarn run build:prod
17
16
```
18
-
19
17
Builds the app into the ` full-build ` directory and creates the ` app.zip ` ready for use with ElasticBeanstalk.
20
18
19
+ You can use the Nix shell defined in [ ` shell.nix ` ] ( shell.nix ) for build environment:
20
+ ```
21
+ nix-shell --pure
22
+ ```
23
+
21
24
## Deployed Contracts
22
25
23
26
Ropsten (the first is ` STT ` , the Status Test Token):
Original file line number Diff line number Diff line change
1
+ { pkgs ? import <nixpkgs> {
2
+ config . permittedInsecurePackages = [ "nodejs-12.22.12" ] ;
3
+ } } :
4
+
5
+ pkgs . mkShell {
6
+ name = "discover-build" ;
7
+
8
+ buildInputs = with pkgs ; [
9
+ git
10
+ zip
11
+ python2
12
+ nodejs-12_x
13
+ ( yarn . override { nodejs = nodejs-12_x ; } )
14
+ ] ;
15
+
16
+ NODE_NO_WARNINGS = 1 ;
17
+ }
You can’t perform that action at this time.
0 commit comments