Skip to content

Instantly share code, notes, and snippets.

View chumaknadya's full-sized avatar
:octocat:
Focusing

chumaknadya

:octocat:
Focusing
  • Kyiv,Ukraine
View GitHub Profile
IMAGE := git.paymium.fr:5001/blockchain.io/bcio-react:$(VERSION)
.PHONY: setup-apps build push
setup-apps:
@rm -rf packages/playground
git clone https://git.paymium.fr/blockchain.io/bcio-react.git packages/playground
build: setup-apps
@echo '> Building image...'
, [2018-12-11T14:36:45.029438 #7] INFO -- : [558718fa-6546-40cf-8a68-66054d826d67] Started OPTIONS "/api/v1/accounts/confirm" for 10.16.1.191 at 2018-12-11 14:36:45 +0000
I, [2018-12-11T14:36:45.086415 #7] INFO -- : [383a2b69-2303-4489-b3ed-fb32cf7fa577] Started POST "/api/v1/accounts/confirm" for 10.16.1.191 at 2018-12-11 14:36:45 +0000
D, [2018-12-11T14:36:45.138376 #7] DEBUG -- : [383a2b69-2303-4489-b3ed-fb32cf7fa577] Account Load (3.6ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`confirmation_token` = 'bzeUZiDXhip_AmrsyyzU' ORDER BY `accounts`.`id` ASC LIMIT 1
D, [2018-12-11T14:36:45.140444 #7] DEBUG -- : [383a2b69-2303-4489-b3ed-fb32cf7fa577] (1.4ms) BEGIN
D, [2018-12-11T14:36:45.143375 #7] DEBUG -- : [383a2b69-2303-4489-b3ed-fb32cf7fa577] SQL (1.2ms) UPDATE `accounts` SET `confirmed_at` = '2018-12-11 14:36:45', `updated_at` = '2018-12-11 14:36:45' WHERE `accounts`.`id` = 281
D, [2018-12-11T14:36:45.149493 #7] DEBUG -- : [383a2b69-2303-4489-b3ed-fb32cf7fa577] (5.1ms) COMMIT
D,
FROM debian:9
# Copy the platform files
COPY . /root
ARG CREDENTIALS_PATH=/root/gcloud-sa.json
ARG TERRAFORM_VERSION=0.11.11
RUN apt-get update && \
apt-get upgrade -qqy && \
GET api/v2/applogic/private/brokers
[{
"uid": "ID535CA9B575",
"first_name": "Name3",
"last_name": "Surname3",
"email": "test2@barong.io",
"region": "China",
"klass": "IB",
"state": "active",
"referrer_uid": "IB000004334",
{
"metrics": [{
"month": "May",
"groupe_volume": "123.32",
"gross_commission": "1543534.4",
"personal_volume": "3123123",
"affiliates": "81",
"verified_affiliates": "34"
},
{
# encoding: UTF-8
# frozen_string_literal: true
require_dependency 'arke/middleware/jwt_authenticator'
class ApplicationController < ActionController::API
before_action :auth_user!
before_action :create_user
private
static_resources:
listeners:
- address:
socket_address:
address: 0.0.0.0
port_value: 8099
filter_chains:
- filters:
- name: envoy.http_connection_manager
config:
POST api/v2/applogic/admin/ieo/sales
Можна кидати такі параметри :name, :introduction_url, :currency_id, :supply, :low_goal, :commission, :owner_uid, :result, :lockup_percentage
:min_amount, :min_unit, :starts_at, :finishes_at, pairs: [:quote_currency_id, :price])
Required :name, :owner_uid, :currency_id, :supply, result
{"id": 331,
"name": "test",
"introduction_url": "http://ww.app.local",
"owner_uid": "946111b1-02cd-472d-8e12-38a321d20bb8",
"currency_id": "eth",
"supply": "34.2",
static_resources:
listeners:
- address:
socket_address:
address: 0.0.0.0
port_value: 8099
filter_chains:
- filters:
- name: envoy.http_connection_manager
config:
steps:
# Update application version
- name: git-tag-and-push
image: quay.io/openware/sdk-tools:#{latest_tag} # don't forget to fill latest_tag
environment:
BOT_USERNAME: kite-bot
BOT_NAME: Kite Bot
BOT_EMAIL: kite-bot@heliostech.fr
BRANCH_NAME: ${DRONE_BRANCH}
REPO_NAME: ${DRONE_REPO}