Skip to content

Commit

Permalink
[CE-199] Remove .env file
Browse files Browse the repository at this point in the history
Use default.env instead of .env

Change-Id: Icca3f8f9d59a4707ed60a3684b4de8d38d49e05c
Signed-off-by: Haitao Yue <hightall@me.com>
  • Loading branch information
hightall committed Dec 17, 2017
1 parent d0e3d8d commit b206732
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ image-clean: clean ##@Clean all existing images to rebuild
docker images | grep "hyperledger/cello-" | awk '{print $3}' | xargs docker rmi -f

initial-env: ##@Configuration Initial Configuration for dashboard
cp default.env .env
$(SED) 's/\(STATIC_FOLDER=\).*/\1${STATIC_FOLDER}/' .env
$(SED) 's/\(TEMPLATE_FOLDER=\).*/\1${TEMPLATE_FOLDER}/' .env
$(SED) 's/\(NPM_REGISTRY=\).*/\1${NPM_REGISTRY}/' .env
Expand Down
2 changes: 1 addition & 1 deletion .env → default.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ STATIC_FOLDER=themes/basic/static
TEMPLATE_FOLDER=themes/basic/templates
NPM_REGISTRY=registry.npmjs.org
DEV=True
ROOT_PATH=/home/jith/cello
ROOT_PATH=

0 comments on commit b206732

Please sign in to comment.