Skip to content

Commit

Permalink
refactor: change backend run
Browse files Browse the repository at this point in the history
  • Loading branch information
albertolerda authored and jaromil committed Jan 10, 2023
1 parent cef1758 commit 401ca24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ build: ## Install all NodeJS dependencies

run: ## Run a service instance on localhost
$(if $(wildcard restroom/node_modules),,$(error Deps missing, first run: make build))
@cp -v restroom/local-config.site .env
node restroom/restroom.mjs
@cp -v restroom/.env.example restroom/.env
cd restroom && node restroom.mjs

service-keyring: tmp := $(shell mktemp)
service-keyring: tmp2 := $(shell mktemp)
Expand Down
4 changes: 3 additions & 1 deletion restroom/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FILES_DIR=../
ZENCODE_DIR=../contracts
ZENCODE_DIR=../api
USE_TIMESTAMP=y
USE_FILES=y
CHAIN_EXT=chain
YML_EXT=yml

0 comments on commit 401ca24

Please sign in to comment.