Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Epicbox default settings and integration instructions #1

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
cfde850
Add files via upload
Mar 29, 2023
83a1b12
Update README.md
Mar 30, 2023
0d83ca7
Merge branch 'fastepic:master' into master
johanneshahn Dec 27, 2023
8db165c
Whitespace/formatting cleanup for app_mongo.js
who-biz Jan 3, 2024
124626e
Whitespace/formatting cleanup for app_mongo_many.js
who-biz Jan 3, 2024
8ecd908
Increase frequency of challenge interval to 60sec
who-biz Jan 4, 2024
b2efa5e
Merge pull request #6 from who-biz/60s-challenge-interval
who-biz Jan 5, 2024
c45a264
Merge branch 'master' into whitespace-formatting-cleanup
who-biz Jan 5, 2024
003f48c
Merge pull request #5 from who-biz/whitespace-formatting-cleanup
who-biz Jan 5, 2024
ee60647
Update error handling, remove ErrorKind in favor of thiserror
who-biz Jan 10, 2024
aa5a827
Update Ring dependency to 0.16.20, resolve compilation errors
who-biz Jan 10, 2024
ab769e5
Resolve compilation warnings
who-biz Jan 10, 2024
cd51576
epicbox version 3.0.0
Jan 12, 2024
92129c7
format strings; move ws.process_slate and ws.pending_challenge into c…
Jan 12, 2024
edc6ad2
add client detail for better handling messages and backward compatibi…
Jan 14, 2024
e6eaa2f
add client detail for better handling messages and backward compatibi…
Jan 14, 2024
aa41cc0
fix passthrough client deleted when send new slate
Jan 14, 2024
8141bd2
fix unsubscribe; fix missing client detail default values; fix Made r…
Jan 15, 2024
5b3eab0
Merge pull request #7 from who-biz/thiserror-ring-deps
who-biz Jan 16, 2024
b59d0f8
Merge branch 'master' into 3.0.0
who-biz Feb 26, 2024
bd9f222
Merge pull request #9 from EpicCash/3.0.0
who-biz Feb 26, 2024
58d0679
update html page content; add missing config value for interval period
Feb 26, 2024
7662628
Merge pull request #10 from EpicCash/3.0.1
who-biz Feb 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
173 changes: 173 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
# Please take extra care not to add rules that will make tracked files ignored.
# To test that, run `git ls-files -i --exclude-standard`.
# To check why a specific file is ignored, run `git check-ignore -v <filepath>`.

# === Rule for dotfiles ===
# Ignore all dotfiles.
.*
# Exclude specific dotfiles that we want to track.
!deps/**/.*
!.devcontainer/
!.devcontainer/.devcontainer.json
!test/fixtures/**/.*
!.clang-format
!.cpplint
!.editorconfig
!.eslintignore
!.eslintrc.js
!.eslintrc.yaml
!.gitattributes
!.github
!.gitignore
!.gitkeep
!.gitpod.yml
!.mailmap
!.nycrc
!.yamllint.yaml

# === Rules for root dir ===
/core
/vgcore.*
/v8*.log
/perf.data
/perf.data.old
/tags
/tags.*
/doc/api.xml
/node
/node_g
/gon-config.json
/*.exe
/*.swp
/out
/*.msi
/*.wixpdb
/*.qlog
# For GitHub Codespaces
/pythonenv*

# === Rules for artifacts of `./configure` ===
/icu_config.gypi
/config.gypi
/config.status
/config_fips.gypi

# === Rules for MSVS artifacts ===
Debug/
Release/
*.sln
*.suo
*.vcxproj*
UpgradeLog*.XML
_UpgradeReport_Files/
*.sdf
*.opensdf
*.VC.*
*.wixobj
/tools/msvs/genfiles/
/npm.wxs
/corepack.wxs
/tools/msvs/msi/**/Release/
/tools/msvs/msi/**/obj/
/tools/msvs/msi/**/x64/
# Exclude MSVS files used for .msi file generation
!tools/msvs/msi/**/custom_actions.vcxproj
!tools/msvs/msi/**/nodemsi.sln

# === Rules for GYP artifacts ===
*-nodegyp*
/gyp-*-tool
/test/addons/??_*/
/*.mk

# === Rules for other build artifacts ===
/email.md
/deps/v8-*
/deps/icu
/deps/icu*.zip
/deps/icu*.tgz
/deps/icu-tmp
./node_modules
/android-toolchain/
# generated by gyp on Windows
/deps/openssl/openssl.props
/deps/openssl/openssl.targets
/deps/openssl/openssl.xml
/deps/openssl/openssl-fipsmodule.props
/deps/openssl/openssl-fipsmodule.targets
/deps/openssl/openssl-fipsmodule.xml
# generated by gyp on android
/*.target.mk
/*.host.mk
/deps/openssl/openssl.target.mk
/deps/zlib/zlib.target.mk
# generated by MSVC with /P enabled
tools/*/*.i
tools/*/*.i.tmp

# === Rules for release artifacts ===
/*.tar.*
/*.pkg
/SHASUMS*.txt*

# === Rules for `node_modules` ===
!**/node_modules/**
/node_modules
/tools/doc/node_modules
/tools/clang-format/node_modules

# === Rules for test artifacts ===
/*.tap
/*.xml
/v8*-tap.json
/node_trace.*.log
# coverage related
/gcovr
/build
/coverage

# === Rules for Xcode artifacts ===
*.xcodeproj
*.xcworkspace
*.pbxproj

# === Rules for files in `/deps` ===
# Exclude all files in the vendored `npm`.
!/deps/npm/node_modules
# These are not needed and causes issues for distro packagers.
/deps/npm/node_modules/.bin/
# Respect V8's .gitignore
!deps/v8/**
# Ignore the libuv book
/deps/uv/docs/code/
/deps/uv/docs/src/guide/
# Ignore .github directories
/deps/**/.github/
# Ignore dependencies fetched by tools/v8/fetch_deps.py
/deps/.cipd

# === Rules for Windows vcbuild.bat ===
/temp-vcbuild

# === Rules for CMake ===
cmake-build-debug/
CMakeCache.txt
CMakeFiles
CTestTestfile.cmake
cmake_install.cmake
install_manifest.txt
*.cbp

# === Global Rules ===
# Keep last to avoid being excluded
*.pyc
__pycache__
.DS_Store
*~

# === Rules for C++ development ===
compile_commands.json


/epicboxlib
config.json
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# epicboxnodejs
Epicbox version on nodejs with elements of rust and adopt changes in epicbox protocole.
Epicbox Relay Server created with nodejs containing elements of rust, fast send, and updated epicbox protocol.

Added app_mongo_many.js for run many isntances under one domain. Each instance need use the same mongo database, in all instances adopted fastsend method.
For fastsend method only one of instances must have in config_many.json set fast_send_master=true, slaves ips must be set in array fast_send_slaves.
All instances must have the same epicbox domain and epicbox port set ( correct to your used epicbox.domain ).
Added app_mongo_many.js to run multiple instances under one domain. Each instance needs to use the same mongo database, and all instances use the fastsend method.
For fastsend method only one instance must have config_many.json set with fast_send_master=true, slave IPs must be set in array fast_send_slaves.
All instances must have the same epicbox domain and epicbox port set.

Instance with set fast_send_master = true can work like independent alone epicbox ( like preverious version app_mongo.js ).
The instance with fast_send_master = true can work like a single epicbox ( like app_mongo.js ).

For each instance so you must use diffirent config_many.json file ( set other local port, or fast_send_master = false etc. ) so to run epicbox use command:
For each instance you must use a different config_many.json file ( set other local port, or fast_send_master = false etc. ) so to run epicbox use command:

node app_mongo_many.js config_many.json

And for next one:
And for the next one:

node app_mongo_many.js config_many_slave1.json

Enjoy.
Enjoy.
Loading