mars-v2-frontend/install_dummy_charting_library.sh
Linkie Link 71d8e49a3d
v2.2.2 OS (#794)
* fix: fixed transaction messages (#792)

* Open Source + Docker image (#793)

* feat: added dummy charting library

* feat: added docker workflow

* feat: remove tests and code-coverage

* feat: added final TradingView fallback

* env: set private to false

* fix: added production env

* env: added README and LICENSE

* env: cleanup variables

* env: add license field

* env: finish docker setup

* fix: updated the description of the dummy data
2024-02-13 11:33:13 +01:00

15 lines
443 B
Bash

#!/bin/sh
remove_if_directory_exists() {
if [ -d "$1" ]; then rm -Rf "$1"; fi
}
remove_if_directory_exists "public/charting_library"
remove_if_directory_exists "public/datafeeds"
remove_if_directory_exists "src/utils/charting_library"
remove_if_directory_exists "src/utils/datafeeds"
cp -r src/dummy/charting_library public/
cp -r src/dummy/charting_library src/utils/
cp -r src/dummy/datafeeds public/
cp -r src/dummy/datafeeds src/utils/