Skip to content

Commit

Permalink
Merge pull request #478 from bitholla/2.0
Browse files Browse the repository at this point in the history
2.0
  • Loading branch information
abeikverdi authored Jan 22, 2021
2 parents 6d269c8 + 9cbe30b commit 17e2983
Show file tree
Hide file tree
Showing 1,105 changed files with 91,850 additions and 52,308 deletions.
51 changes: 50 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,53 @@ trigger:
- master
- testnet
event:
- push
- push

---

kind: pipeline
type: docker
name: kit_v2_sandbox_deployment

steps:
- name: slack_noti_job_start
image: plugins/slack
settings:
channel: deployment
webhook:
from_secret: slack_webhook
template: "<{{build.link}}|HollaEx v2 Sandbox Deployment> - #{{build.number}} started on <https://github.com/{{repo.owner}}/{{repo.name}}/tree/{{build.branch}}|{{repo.name}} / {{build.branch}}> by {{build.author}}"

- name: partymaker_version_tag
image: alpine
commands:
- echo "$(cat version)-sandbox" > .tags
- echo "Current version tag is :" && cat .tags

- name: request_hollacloud_to_run_upgrade
image: bitholla/devops-tools:drone_hollacloud-201007
environment:
HOLLAEX_EMAIL:
from_secret: hollaex_email
HOLLAEX_PASSWORD:
from_secret: hollaex_password
settings:
exchange_id: 176
exchange_name: "Sandbox HollaEx"

- name: slack_noti_job_end
image: plugins/slack
settings:
channel: deployment
webhook:
from_secret: slack_webhook
when:
status: [success, failure]

trigger:
branch:
- 2.0
event:
- push


2 changes: 1 addition & 1 deletion .hollaex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Initialized by using hollaex-cli v1.6.0
ENVIRONMENT_HOLLAEX_KIT_NETWORK=mainnet
26 changes: 16 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
FROM bitholla/hollaex-core:1.23.1
FROM node:10.15.3-stretch-slim

COPY ./mail /app/mail
RUN apt-get update && \
apt-get install -y --no-install-recommends git python build-essential && \
rm -rf /var/lib/apt/lists/* && \
npm install [email protected] [email protected] mocha -g --loglevel=error

COPY ./plugins /app/plugins
ENV NODE_ENV=production

COPY ./db/migrations /app/db/migrations
COPY ./server /app

COPY ./db/seeders /app/db/seeders
WORKDIR /app

COPY ./db/models /app/db/models

RUN npm install -g nodemon --loglevel=error && \
cd plugins && npm install --loglevel=error && \
for d in ./*/ ; do (cd "$d" && npm install --loglevel=error); done && \
RUN npm install --loglevel=error && \
pm2 update && \
cd /app/mail && npm install --loglevel=error

EXPOSE 10010

EXPOSE 10080

ENTRYPOINT ["/entrypoint.sh"]
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
# HollaEx Kit [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg)](https://github.com/facebook/create-react-app/pulls)
HollaEx Kit is a full exchange launcher kit for building and running an exchange platfrom where you can list and trade any digital assets for your users.

HollaEx Kit has 3 main components:
- HollaEx Core: HollaEx Core is a [docker image](https://cloud.docker.com/u/bitholla/repository/docker/bitholla/hollaex-core) which includes trading matching engine, real-time data stream, user management and general RESTful API management.
- HollaEx Web: Front-end Web application for user interface
- HollaEx CLI: Command Line Interface for interacting and deploying your exchange.
HollaEx Kit is an open source crypto exchange software that can be utilized to onboard your users and traders in order to run your white label exchange. In order to run the HollaEx Kit, you need to run HollaEx Server as the back-end and Web as your front-end user interface. HollaEx Kit automatically then connects to HollaEx Network where you have access to markets and liquidity for different digital assets.

## Get Started

HollaEx Kit provides simple (but powerful) CLI tool to help exchange operators setup and operate their exchange. Get started by install HollaEx CLI and following the [documentation](https://docs.bitholla.com) to start your own exchange.

HollaEx Kit provides simple (but powerful) CLI tool to help exchange operators setup and operate the exchange. Get started by install HollaEx CLI and following the [documentation](https://docs.bitholla.com) to start your own exchange.

```
git clone https://github.com/bitholla/hollaex-kit.git
bash install.sh
```

Read more on our [Docs](https://docs.bitholla.com/hollaex-kit/get-started)!

## Developers

Checkout Web for the front-end UI/UX modifications.

Check out Server for back-end and server side operations and endpoints.

Check out Plugins for developing seamless and flexible custom services that can be added to the HollaEx Kit.

Check out HollaEx CLI (Command Line Interface) for interacting and deploying your exchange.

## Community
Join us on the [Forum](https://forum.bitholla.com) and feel free to raise any topic and ask questions from our active community.

Expand Down
57 changes: 0 additions & 57 deletions db/migrations/20170718084400-create-order.js

This file was deleted.

55 changes: 0 additions & 55 deletions db/migrations/20170718131400-create-trade.js

This file was deleted.

54 changes: 0 additions & 54 deletions db/migrations/20170718150000-create-balance.js

This file was deleted.

60 changes: 0 additions & 60 deletions db/migrations/20170720075000-create-deposit.js

This file was deleted.

14 changes: 0 additions & 14 deletions db/migrations/20170801082800-add-maker-fee-trade.js

This file was deleted.

14 changes: 0 additions & 14 deletions db/migrations/20170801082900-add-trader-fee-trade.js

This file was deleted.

Loading

0 comments on commit 17e2983

Please sign in to comment.