-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
39 lines (33 loc) · 1.24 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
run:
@export NEXT_PUBLIC_LOGO_URL=https://gateway-fe-public-assets.s3.amazonaws.com/env/LavaLocal.svg && \
export NEXT_PUBLIC_INFO_NETWORK=local && \
export NEXT_PUBLIC_REST_URL=http://localhost:8081 && \
export PORT=5100 && \
pnpm dev
staging_run:
@if [ -f env.sh ]; then \
source env.sh; \
fi; \
export NEXT_PUBLIC_LOGO_URL=https://gateway-fe-public-assets.s3.amazonaws.com/env/LavaStaging.svg && \
export NEXT_PUBLIC_INFO_NETWORK=testnet_local && \
export NEXT_PUBLIC_REST_URL=$$NEXT_PUBLIC_REST_URL_STAGING && \
export PORT=5100 && \
pnpm dev
testnet_run:
@export NEXT_PUBLIC_LOGO_URL=https://gateway-fe-public-assets.s3.amazonaws.com/env/LavaTestnet.svg && \
export NEXT_PUBLIC_INFO_NETWORK=testnet_local && \
export NEXT_PUBLIC_REST_URL=https://jsinfo.lavanet.xyz && \
export PORT=5100 && \
pnpm dev
mainnet_run:
@export NEXT_PUBLIC_LOGO_URL=https://gateway-fe-public-assets.s3.amazonaws.com/env/LavaMainnet.svg && \
export NEXT_PUBLIC_INFO_NETWORK=mainnet_local && \
export NEXT_PUBLIC_REST_URL=https://jsinfo.mainnet.lavanet.xyz/ && \
export PORT=5100 && \
pnpm dev
build:
NEXT_PUBLIC_LOGO_URL=nothing NEXT_PUBLIC_INFO_NETWORK=local NEXT_PUBLIC_REST_URL=12 pnpm build
install:
pnpm install
macos_kill:
lsof -ti:5100 | xargs kill -9