Skip to content

Commit

Permalink
Organizing and simplifing
Browse files Browse the repository at this point in the history
  • Loading branch information
vncoelho committed Jun 18, 2018
1 parent 78c7818 commit 05619cb
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 25 deletions.
9 changes: 5 additions & 4 deletions build_everything.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ done

# Flag for changing neo-scan host variable - However, neoscan frontpage is still not working properly
if (($SERVER_MODE)); then
(cd dockers-neo-scan-neon/docker-neo-scan; sed -i '/HOST_NAME/c\HOST_NAME=https://neoscan.neocompiler.io' ./.env )
(cd docker-compose-eco-network; sed -i '/HOST_NAME/c\HOST_NAME=https://neoscan.neocompiler.io' ./.env )
else
(cd dockers-neo-scan-neon/docker-neo-scan; sed -i '/HOST_NAME/c\HOST_NAME=localhost' ./.env )
(cd docker-compose-eco-network; sed -i '/HOST_NAME/c\HOST_NAME=localhost' ./.env )
fi

if ((!$DISABLE_BUILD)); then
Expand All @@ -55,8 +55,9 @@ if (($DEV_MODE)); then
(cd docker-neo-csharp-nodes; ./docker_build.sh --neo-cli neo-cli-built.zip)
fi

echo "BUILDING/RUNNING Docker-compose with a set of components: Neo-CSharp-Nodes,NeoScan and Neo-Python";
(cd dockers-neo-scan-neon; ./buildRun_Compose_PrivateNet_NeoScanDocker.sh)
echo "STOPPPING/BUILDING/RUNNING Docker-compose with a set of components: Neo-CSharp-Nodes,NeoScan and Neo-Python";
./stopEco_network.sh
./runEco_network.sh

echo "BUILDING/RUNNING web interface and compilers";
./buildCompilers_startWebInterface.sh
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 0 additions & 15 deletions dockers-neo-scan-neon/buildRun_Compose_PrivateNet_NeoScanDocker.sh

This file was deleted.

2 changes: 0 additions & 2 deletions downEco_network.sh

This file was deleted.

3 changes: 0 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#NPM Prune and Install before starting node backend
./npm_prune_install.sh

export COMMIT_GIT_VERSION=`git log --format="%H" -n 1`
DEBUG=neocompiler:* PORT=8000 node app.js
2 changes: 1 addition & 1 deletion runEco_network.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
(cd dockers-neo-scan-neon; ./buildRun_Compose_PrivateNet_NeoScanDocker.sh)
(cd docker-compose-eco-network; docker-compose up -d)
2 changes: 2 additions & 0 deletions stopEco_network.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
(cd docker-compose-eco-network; docker-compose down)

0 comments on commit 05619cb

Please sign in to comment.