Skip to content

Commit

Permalink
Merge pull request #119 from bitcoinvsalts/testing
Browse files Browse the repository at this point in the history
for public testing: 0.6.0
  • Loading branch information
dargmuesli authored Apr 19, 2022
2 parents 1b3342b + 0c50675 commit 49fdd52
Show file tree
Hide file tree
Showing 49 changed files with 15,339 additions and 2,264 deletions.
220 changes: 218 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,219 @@
.github/
# Created by https://www.toptal.com/developers/gitignore/api/node,webstorm+all
# Edit at https://www.toptal.com/developers/gitignore?templates=node,webstorm+all

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
.env
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
.env*.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Storybook build outputs
.out
.storybook-out
storybook-static

# rollup.js default build output
dist/

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# Temporary folders
tmp/
temp/

### WebStorm+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### WebStorm+all Patch ###
# Ignores the whole .idea folder and all .iml files
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360

.idea/

# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin
.idea/sonarlint

# End of https://www.toptal.com/developers/gitignore/api/node,webstorm+all
17 changes: 10 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
# //////////////////////////////////////////////////////////////////////////////////
# //////////////////////////////////////////////////////////////////////////////////

BINANCE_API_KEY=editme
BINANCE_SECRET_KEY=editme
BVA_API_KEY=editme
TELEGRAM_API_KEY=editme
TELEGRAM_RECEIVER_ID=editme
USE_GMAIL=false
USE_TELEGRAM=false
BINANCE_API_KEY=
BINANCE_SECRET_KEY=
BVA_API_KEY=
IS_NOTIFIER_GMAIL_ENABLED=false
IS_NOTIFIER_TELEGRAM_ENABLED=false
IS_TRADE_MARGIN_ENABLED=true
#NOTIFIER_GMAIL_ADDRESS=
#NOTIFIER_GMAIL_APP_PASSWORD=
#NOTIFIER_TELEGRAM_API_KEY=
#NOTIFIER_TELEGRAM_RECEIVER_ID=
5 changes: 5 additions & 0 deletions .env.testing
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This file is for testing purposes only and can be ignored by users!

BINANCE_API_KEY=BINANCE_API_KEY
BINANCE_SECRET_KEY=BINANCE_SECRET_KEY
BVA_API_KEY=BVA_API_KEY
33 changes: 33 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
env:
es2021: true
node: true
extends:
- 'eslint:recommended'
overrides:
- files:
- "**/*.ts"
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
parser: "@typescript-eslint/parser"
plugins:
- "@typescript-eslint"
rules:
"@typescript-eslint/no-explicit-any": 0
parserOptions:
ecmaVersion: 12
sourceType: module
rules:
indent:
- error
- 4
- SwitchCase: 1
linebreak-style:
- error
- unix
quotes:
- error
- double
semi:
- error
- never
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Docker Buildx setup
id: buildx
uses: docker/setup-buildx-action@v1.1.1
uses: docker/setup-buildx-action@v1.3.0

- name: Registry login
if: github.event_name != 'pull_request'
Expand All @@ -32,7 +32,7 @@ jobs:
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
# Push the Docker image to the registry on git pushes that either pushed a tag or one of the following branches: [master, develop]
# Push the Docker image to the registry on git pushes that either pushed a tag or one of the following branches: [master, testing]
if [[
(
"${{ github.event_name }}" == "create"
Expand All @@ -48,7 +48,7 @@ jobs:
(
$VERSION == "latest"
||
$VERSION == "develop"
$VERSION == "testing"
)
)
]]
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

- name: Docker Buildx setup
id: buildx
uses: docker/setup-buildx-action@v1.1.1
uses: docker/setup-buildx-action@v1.3.0

- name: Build "build"
run: |
Expand All @@ -108,7 +108,7 @@ jobs:
docker container rm -f extract
- name: Zip
uses: montudor/action-zip@v0.1.1
uses: montudor/action-zip@v1.0.0
with:
args: zip -qq -r ./nbt.zip ./

Expand Down
Loading

0 comments on commit 49fdd52

Please sign in to comment.