Last active
February 7, 2017 13:53
-
-
Save AntoineToubhans/5d8d95a91a1766b9db47cdbec9d2c977 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function remove_files() { | |
| echo '│ ├─ remove files docker/System/'$1$2 | |
| rm -rf 'docker/System/'$1$2 | |
| } | |
| function copy_files() { | |
| echo '│ ├─ copy App/'$1$3 '-> docker/System/'$2 | |
| cp -r 'App/'$1$3 'docker/System/'$2 | |
| } | |
| echo ' ______' | |
| echo ' ___/_____/\ ' | |
| echo ' / /\' | |
| echo ' __/____ / \ ' | |
| echo ' ___/ /\___/___ \ ' | |
| echo ' / / / \ /\ \ ' | |
| echo ' ____/ /_______/ \ / _\/_____' | |
| echo ' / / \ \ / / / /\ ' | |
| echo ' __/ / \ \ / / / / _\__' | |
| echo ' / / / \_______\/ / / / / /\ ' | |
| echo ' /_/___/___________________/ /_______/ /___/ \ ' | |
| echo ' \ \ \ ___________ \ \ \ \ \ / ' | |
| echo ' \_\ \ / /\ \ \ \ \___\/ ' | |
| echo ' \ \/ / \ \ \ \ / ' | |
| echo ' \__/ / \ \ \_______\/ ' | |
| echo ' /__________/ \ \ / ' | |
| echo ' \ _____ \ /_____\/ ' | |
| echo ' \ / /\ \ / ' | |
| echo ' /____/ \ \ / ' | |
| echo ' \ \ /___\/ ' | |
| echo ' \____\/ ' | |
| echo ' ' | |
| echo ' ' | |
| echo ' _ _ _____ _ ' | |
| echo ' | | | | / ____| | | ' | |
| echo ' | |__| |_ _ _ __ ___ _ __| | _ _| |__ ___ ' | |
| echo ' | __ | | | | _ \ / _ \ __| | | | | | _ \ / _ \' | |
| echo ' | | | | |_| | |_) | __/ | | |___| |_| | |_) | __/' | |
| echo ' |_| |_|\__, | .__/ \___|_| \_____\__,_|_.__/ \___|' | |
| echo ' __/ | | ' | |
| echo ' |___/|_| ' | |
| echo ' ' | |
| echo 'Installing HyperCube from sources...' | |
| echo '├─ install front-end files' | |
| remove_files 'htdocs/' '*' | |
| copy_files 'WebPages/htdocs/' 'htdocs/' '*' | |
| echo '├─ install node files' | |
| remove_files 'node/helpers/' '*.js' | |
| remove_files 'node/models/' '*.js' | |
| remove_files 'node/routes/' '*.js' | |
| copy_files 'Node/helpers/' 'node/helpers/' '*.js' | |
| copy_files 'Node/models/' 'node/models/' '*.js' | |
| copy_files 'Node/routes/' 'node/routes/' '*.js' | |
| echo '├─ install python scripts' | |
| copy_files 'ServerTasks/python/' 'scripts/python/' '*.py' | |
| echo '├─ install python hypecube package' | |
| copy_files 'ServerTasks/HyperCube/' 'HyPy/lib/python3.5/site-packages/HyperCube/' 'datasetDescription.py' | |
| copy_files 'ServerTasks/HyperCube/' 'HyPy/lib/python3.5/site-packages/HyperCube/' 'datasetValidation.py' | |
| copy_files 'ServerTasks/HyperCube/' 'HyPy/lib/python3.5/site-packages/HyperCube/' 'hyperEngine.py' | |
| copy_files 'ServerTasks/HyperCube/' 'HyPy/lib/python3.5/site-packages/HyperCube/' 'messageQueue.py' | |
| copy_files 'ServerTasks/HyperCube/' 'HyPy/lib/python3.5/site-packages/HyperCube/' 'storage.py' | |
| copy_files 'ServerTasks/HyperCube/' 'HyPy/lib/python3.5/site-packages/HyperCube/' 'taskInfo.py' | |
| copy_files 'ServerTasks/HyperCube/' 'HyPy/lib/python3.5/site-packages/HyperCube/' 'beCubeDataset.py' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment